Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a repeat of the commit comments, which I think are pretty descriptive
Change 1: re-implement cooldown with singlemode execution and a delay
Force the automation to use single mode with suppressed warnings (see here). To implement the cooldown, add a delay as the last action in the actions. Also remove the cooldown from the automation conditions.
The main difference here is that no new triggers will arrive while the automation is running. The condition is smaller now, and is limited to the content of the automation, and not managing how the automation is run. With this narrowing, it opens up the possibility of adding other conditions to the blueprint config in the future.
Change 2: blueprint: add a filter for frigate object detection
The frigate payload includes a label which indicates what the detected object is. This can be useful to separate llm-vision automations to react differently for different objects.
For example, if a bird is detected, the ai instructions could include something like, "if you see a bird, try to identify what species it is". This discription doesn't make much sense if the detected object is a person, and including separate instructions to the ai makes it more confusing on both the human and ai side of things. Allowing for separate instructions by object will make for easier to understand automations.