This seems to be happening after updating and HA has been rebooted, but I’ve got an automation which coincides with when I usually update… ie I wake in the morning, get up, come to HA, see there’s an update and I apply the update… it was HA Core this morning… which is around the time that the light sensor is starting to pick up in terms of lumens, but the automation never fires and I’ve got to trigger it manually. If HA hasn’t been rebooted, it works fine.
alias: Sun Up
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.light_sensor_bh1750_illuminance
for:
hours: 0
minutes: 5
seconds: 0
above: 17
conditions:
- condition: time
after: "03:30:00"
before: "11:00:00"
actions:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.sun_up
mode: single
…anyone got any thoughts on what I could try please? Time based won’t work, and I did think of triggering whenever there is a change in luminescence, but that would be firing all the time.
EDIT - The 5 minute duration and the time restriction is to prevent it being triggered by someone driving into the car park with their headlights on.