#Can HA handle a single trigger id for multiple choices?

1 messages · Page 1 of 1 (latest)

timber cedar
#

I have an automation that is working and has three choices with 6 trigger ids.

I'd like a particular trigger id to work with 2 of the 3 choices, is that possible? How does HA handle this, if at all?

split token
#

Can you share an example of the YAML so we know what you're trying to do?

hollow capeBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

timber cedar
#

I'd like the LowTemp Thermostat trigger id to start either one of the last two choices

#

Though I'm not entirely sure if HA can handle this correctly

upper plaza
#

You can do that. Or, have 1 choice that triggers on multiple trigger ids. Either way works. But I’m not sure why you’d want 2+ choices acting on the same trigger. But it can be done.

split token
#

Choose is similar to if/then, so if it triggers option A, then it won't trigger option B

timber cedar
#

The actions change slightly depending on the time of year

#

But the trigger itself is still a valid reason for the actions to take place