Testing a new door chime since old hassbian one wont work

This commit is contained in:
Jeffrey Stone 2019-11-08 21:16:57 -05:00
parent 93e399a909
commit 135d5b011b
1 changed files with 5 additions and 6 deletions

View File

@ -123,10 +123,10 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: entity_id:
- binary_sensor.front_door_contact_2 - binary_sensor.front_door
- binary_sensor.laundry_room_door_contact_2 - binary_sensor.laundry_room_door
- binary_sensor.attic_door_contact_2 - binary_sensor.attic_door
- binary_sensor.back_door_contact_2 - binary_sensor.back_door
from: 'off' from: 'off'
condition: condition:
- condition: state - condition: state
@ -136,8 +136,7 @@ automation:
entity_id: input_boolean.guest_mode entity_id: input_boolean.guest_mode
state: 'off' state: 'off'
action: action:
- service: shell_command.door_chime - service: script.door_chime
- service: script.reset_ha_speaker
initial_state: true initial_state: true
- id: door_opened_long - id: door_opened_long