Good morning everyone,
I wrote an automation whcih is not working as expected and I do not have any idea why.
What do I expect of this automation:
- Whenever the time is between 06:00 and 10:00 o’clock
- AND the illumination is <10
- Activate light sources in garden
What happens:
- The light is activated at 07:54
- while the illumination is <10
Here is my source code:
alias: "Gartenlicht morgens AN "
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.wetterstation_bh1750_illuminance
below: 10
condition:
- condition: time
after: "06:00:00"
before: "10:00:00"
action:
- type: turn_on
device_id: e6627be4d683a00f65d2d71cc78da73b
entity_id: d5443f17fc5604df319599ac8a8d5eae
domain: switch
- type: turn_on
device_id: 1dc259849c93e1c8d6cb8ea86182400f
entity_id: 954c3dcf54f2312bfa0a6c6149257a46
domain: switch
mode: single