Welcome to Incremental Social! Learn more about this project here! Check out lemmyverse to find more communities to join from here!
comradegreetingcard , 5 months ago (edited 5 months ago) So, 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): https://lemmy.ml/pictrs/image/c05806da-f344-4012-955d-9a0bcc4f1b14.png 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. https://lemmy.ml/pictrs/image/ef45e216-a538-442c-aa57-361af3b7ba2c.png To keep this all in one automation, skip the condition section and go to the action section. https://lemmy.ml/pictrs/image/e9b2318e-89cf-437f-a3ab-055479380f55.png Use the choose block and set the conditions under an option https://lemmy.ml/pictrs/image/71acd170-9e97-4024-a4ee-6675abe16137.png The action will be a template https://lemmy.ml/pictrs/image/fba7a061-fa85-43d8-8a7f-3278dbf8a141.png service: light.turn_off target: entity_id: "{{ trigger.entity_id }}" data: {} Edit formatting
So, 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):
https://lemmy.ml/pictrs/image/c05806da-f344-4012-955d-9a0bcc4f1b14.png
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.
https://lemmy.ml/pictrs/image/ef45e216-a538-442c-aa57-361af3b7ba2c.png
To keep this all in one automation, skip the condition section and go to the action section.
https://lemmy.ml/pictrs/image/e9b2318e-89cf-437f-a3ab-055479380f55.png
Use the choose block and set the conditions under an option
https://lemmy.ml/pictrs/image/71acd170-9e97-4024-a4ee-6675abe16137.png
The action will be a template
https://lemmy.ml/pictrs/image/fba7a061-fa85-43d8-8a7f-3278dbf8a141.png
service: light.turn_off target: entity_id: "{{ trigger.entity_id }}" data: {}
Edit formatting