Turn porch decorations on when the schedule is run manually.
A manual run has no trigger id, so the sunset branch never matched and Right Porch Outlet 2 stayed off. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,8 +48,13 @@
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: decorations_on
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: trigger
|
||||
id: decorations_on
|
||||
# A manual run has no trigger id. Treat it as the sunset turn-on.
|
||||
- condition: template
|
||||
value_template: "{{ trigger.id | default(none) is none }}"
|
||||
sequence:
|
||||
- action: switch.turn_on
|
||||
continue_on_error: true
|
||||
|
||||
Reference in New Issue
Block a user