Today I was playing with Node-Red and deciced to transfer some YAML automations to Node-Red, At some point I came into an old automation which used a minus offset as trigger and I was wondering if there is a way to achieve this within Node-Red.
For reference I pasted the YAML automation below:
- alias: "LED ON"
trigger:
- event: sunset
offset: -00:30
platform: sun
action:
- service: switch.turn_on
entity_id: switch.slaapkamer_led