How can I test the following automation rule? The rule doesn’t seem to be working correctly so I want to try and use the developer tools to test it out. I can’t seem to find an entity to set for the time function.
- id: random_lights_on_week_day_mornings
alias: 'Random Lights On - Week Day Mo
rnings'
trigger:
- platform: time
at: '06:55:00'
condition:
- condition: time
weekday:
- sun
- mon
- tue
- wed
- thu
- condition: sun
before: sunrise
after_offset: "00:15:00"
action:
- delay: '00:{{ (range(5, 15) | random
) }}:00'
- service: homeassistant.turn_on
entity_id: group.living_room_lights_
card
# wait some seconds (will be in realit
y in minutes)