Replies: 1 comment 2 replies
-
Thanks for the poke! • Simplify the user experience by displaying only relevant options (and even supporting search), making it much more intuitive when setting up automations. • Enable more domain-specific and context-aware options (for example, targeting areas, devices, or labels), which can lead to more powerful and flexible automations without the need for workarounds like creating extra helpers or advanced templates. • Potentially open the door for integrations like AI Automation Suggester to contribute even richer, more tailored suggestions – since the system would now natively understand and expose these finer-grained options. Today I achieve the suggestions in a similar way, as in it's impossible to look at everything, so it looks at new and a random section of 200 entities. The challenge will be in striking the right balance between simplicity for beginners and the flexibility needed by advanced users. But overall, this roadmap seems like a positive step toward making automation creation more accessible and powerful. I'm still trying to figure out a way to do multi-agents within HASS without going into Addon's, but with the power and flexibility needed, it might be the latter. |
Beta Was this translation helpful? Give feedback.
-
FYI; @matthiasdebaat and @jlpouffier from Nabu Casa posted a roadmap plan for making automation creation easier in Home Assistant, and it involves unwrapping triggers and conditions, allowing integrations to provide them, (like perhaps AI Automation Suggester?). See:
Quote copy bellow (but better to fo to the reddit above if want to give feedback to Nabu Casa's user experince expert and project manager):
Make automation creation easier - Our plan as Home Assistant maintainers
matthiasdebaat posted 1-day ago in r/homeassistant
In the upcoming releases, we aim to make automation creation easier with u/jenova70. Please let us know your thoughts on our proposed solution to the issues we want to address.
Issues
Home Assistant's automation engine is one of the most powerful on the market, but this comes at a cost: It’s not the easiest to approach.
1. Triggers and conditions are hard to choose and configure
Entity and Numeric state triggers are powerful and flexible but can be challenging to understand, especially for those who are new to Home Assistant. Device triggers are easier to use, but these don't let us fully use the power of the automation editor.When we want to search on a common trigger, like
motion
ortemperature
, we won't get any results. As these are part of theState
orNumerical state
trigger.2. Common triggers and conditions are complex to achieve
In order to perform seemingly easy tasks, we must understand how data flows into the internal state machine and how it is represented. For example:
binary_sensor
,lock
orcover
.3. Difficult to trigger something on a scope that is bigger than an entity
Automation is tightly coupled with the state machine. If something isn’t in the state machine, it’s difficult (or impossible) to automate. Currently, the only workaround is creating helpers to persist such data. For example:
"When at least one light in the living room turns on". We have to create a group helper.
"When any of my switches labeled
always_on
turns off". Labels are not available as trigger target. We can walk around that by creating some pretty advanced templates."When presence is detected on the second floor". Areas are not available as trigger target.
Our solution
We plan to unwrap the triggers and conditions, allowing integrations to provide them. This is similar to what we did for actions. Integrations will define available triggers, conditions, and actions, which Home Assistant will then display in the automation editor. This will result in:
light
,climate
andfan
. And specific such asSonos
orLG Web OS
.With these improvements, we will be able to create automations like:
Of course, we will still be able to use the
State
andNumerical state
triggers for more complex use cases.First results from user test are great. We feel like we are heading in the right direction, but want to continue getting feedback from the community. How do you feel about these improvements? Is there anything we may have missed here? We're open for feedback!
Edit:
Small clarification what we mean by allowing integrations to provide triggers and conditions, like it does with actions:
Beta Was this translation helpful? Give feedback.
All reactions