@fountain27 wrote:
I am trying to add an offset to a existing automation. The YAML code is correct, but I get a notification in HA “invalid config”.
Here is the code:
trigger: platform: state entity_id: device_tracker.android from: 'not_home' to: 'home' condition: - condition: state entity_id: sun.sun state: below_horizon offset: "-00:45:00" action: - service: switch.turn_on entity_id: - switch.honeywell_unknown_type_4952_id_3036_switch - switch.0220036060019472dce9 - switch.0220036060019472da94
Thank you for any suggestions.
Posts: 5
Participants: 2