Adding more Voice Notifications to the Setup.

This commit is contained in:
CCOSTAN
2017-02-07 04:10:22 +00:00
parent 96ef81ba8d
commit 00b16e3cf5

View File

@@ -35,11 +35,11 @@
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.couch_1 - light.couch_1
data: - light.sink
transition: 1200 - service: script.Voice_notify
- service: switch.turn_on data_template:
entity_id: value1: "It is getting a little dark because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}}
- switch.living_room_outlet outside. I will turn on some extra lights in the living room."
###################################################################### ######################################################################
@@ -57,8 +57,9 @@
- service: light.turn_off - service: light.turn_off
entity_id: entity_id:
- light.couch_1 - light.couch_1
- light.sink
data: data:
transition: 1200 transition: 1200
- service: switch.turn_off - service: script.Voice_notify
entity_id: data_template:
- switch.living_room_outlet value1: "Sun is back out. Let's turn down these lights now."