comradegreetingcard@lemmy.mltohomeassistant@lemmy.world•Automation Question - What am I missing?English
15·
9 months agoSo, you don’t need an automation per entity. You can add additional entities to the trigger seen here (you can add groups too, kitchenlights is a group of 4 lights):
As circled above, you can also set a “for” time, in this case when the light is on for 15 min.
The time condition has the option for a day off the week. Just leave the time portion blank.
To keep this all in one automation, skip the condition section and go to the action section.
Use the choose block and set the conditions under an option
The action will be a template
service: light.turn_off target: entity_id: “{{ trigger.entity_id }}” data: {}
Edit formatting
Under the Companion app settings, select your server, then persistent connection
https://companion.home-assistant.io/docs/notifications/notification-local/