mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Bunches of fixes nd changes
This commit is contained in:
@@ -2,12 +2,19 @@ lock:
|
||||
- platform: template
|
||||
unique_id: templatelock.patio_door
|
||||
name: Patio Door
|
||||
value_template: "{{ is_state('switch.shelly_sliding_glass_door', 'on') }}"
|
||||
#value_template: "{{ is_state('switch.shelly_sliding_glass_door', 'on') }}"
|
||||
value_template: "{{ is_state('light.deck', 'on') }}"
|
||||
lock:
|
||||
action: switch.turn_on
|
||||
# action: switch.turn_on
|
||||
# target:
|
||||
# entity_id: switch.shelly_sliding_glass_door
|
||||
action: light.turn_on
|
||||
target:
|
||||
entity_id: switch.shelly_sliding_glass_door
|
||||
entity_id: light.deck
|
||||
unlock:
|
||||
action: switch.turn_off
|
||||
# action: switch.turn_off
|
||||
# target:
|
||||
# entity_id: switch.shelly_sliding_glass_door
|
||||
action: light.turn_off
|
||||
target:
|
||||
entity_id: switch.shelly_sliding_glass_door
|
||||
entity_id: light.deck
|
||||
|
||||
Reference in New Issue
Block a user