id: '1713810042481'
alias: Pohyb Kancelar svetlo LED
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.zone_pracovna_pir_open
to: 'on'
condition:
- condition: and
conditions:
- condition: state
entity_id: switch.rpi_pico_remote_gpio15
state: 'off'
- condition: sun
before: sunset
before_offset: '-00:30:00'
after: sunrise
action:
- service: switch.turn_on
target:
entity_id: switch.rpi_pico_remote_gpio15
data: {}
mode: single
Log:
Executed: May 2, 2024 at 09:19:45
Result:
result: true
conditions/0
Executed: May 2, 2024 at 09:19:45
Result:
result: true
conditions/0/entity_id/0
Executed: May 2, 2024 at 09:19:45
Result:
result: true
state: 'off'
wanted_state: 'off'
conditions/1
Executed: May 2, 2024 at 09:19:45
Result:
wanted_time_before: '2024-05-02T17:40:33.668419+00:00'
wanted_time_after: '2024-05-02T03:26:38.169092+00:00'
result: true
Why it was executed if it’s not 30minutes before sunset?
2 posts - 2 participants