#Best way for two state automation?
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
I have a door sensor and want to trigger a light depending on that.
What is the best way to do so. Can I do that in one automation?
The light has also a manual switch that is used from time to time.
Use trigger ids in the automation
If trigger = door, set state, else toggle or something
This needs yml, right?
No. If you click on the 3 dots next to the trigger in the ui you can edit id