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