I created an automation that has a time condition many months ago, and it was working great. However, now I notice it's not triggering, because somewhere along the way, the time condition changed to UTC. If I go Settings, my time zone is set correctly. If I go to the Template developer tool and put in {{ now() }}, the output is correct and in my timezone.
Here's the yaml:
alias: Activate Morning Scene
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.second_floor_motion
to: "on"
condition:
- condition: time
before: "07:30:00"
after: "04:00:00"
weekday:
- mon
- tue
- wed
- thu
- fri
- condition: state
entity_id: input_boolean.allow_morning_automation
state: "on"
action:
- data: {}
action: script.morning_scene
- data: {}
target:
entity_id: input_boolean.allow_morning_automation
action: input_boolean.turn_off
mode: single
Is there any way to tell my condition to use my correct timezone? Thanks!