Add window rooms template
This commit is contained in:
@@ -87,7 +87,11 @@ action:
|
||||
occupied: "{{ is_state(occupancy_entity, 'on') }}"
|
||||
|
||||
- choose:
|
||||
# Case 1: Manual physical switch flipped
|
||||
# Case 1: Manual physical switch flipped (either direction).
|
||||
# The Shelly's edge input mode has already flipped the relay locally -
|
||||
# HA must NOT issue a light.turn_on/off here, or it will fight the
|
||||
# person's manual action. We only start the override timer so that
|
||||
# occupancy/lux logic stays out of the way for the configured window.
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: "{{ trigger.id == 'manual_switch' }}"
|
||||
|
||||
Reference in New Issue
Block a user