• 0 Posts
  • 33 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle


















  • 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):

    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