Made changes to comply with new version. Took out HTML API information. Also

added upstairs temperature checker, and made changes to sleep light out automation.

	modified:   configuration.yaml
This commit is contained in:
root
2019-11-24 19:59:21 -05:00
parent 060d2e13eb
commit dfa1cd40b8
5 changed files with 51 additions and 19 deletions

View File

@@ -150,6 +150,25 @@
service_template: '{{ trigger.event.data.service }}'
data_template:
entity_id: '{{ trigger.event.data.entity_id }}'
- alias: 'Sleep - Lights Off'
trigger:
platform: state
entity_id: sensor.sleep_Info
to: 'startsleep'
action:
- service: light.turn_off
entity_id: group.all_lights
- alias: 'Sleep - Lights On'
trigger:
platform: state
entity_id: sensor.sleep_Info
to: 'stopsleep'
action:
- service: light.turn_on
entity_id: group.all_lights
@@ -166,10 +185,10 @@
condition: template
value_template: "{% if not is_state('climate.home', 'off') %}true{% endif %}"
action:
- service: climate.set_away_mode
- service: climate.set_preset_mode
entity_id: climate.home
data:
away_mode: 'on'
preset_mode: 'away'
- service: notify.notify_dan
data:
title: 'Left House - Set thermostate to Away'
@@ -194,10 +213,10 @@
- wed
- thu
action:
- service: climate.set_away_mode
- service: climate.set_preset_mode
entity_id: climate.home
data:
away_mode: 'off'
preset_mode: 'home'
- service: notify.notify_dan
data:
title: 'Left Work - Set thermostate to Home'
@@ -219,10 +238,10 @@
entity_id: input_boolean.thermostat_mode
state: 'on'
action:
- service: climate.set_away_mode
- service: climate.set_preset_mode
entity_id: climate.home
data:
away_mode: 'off'
preset_mode: 'home'
- service: notify.notify_dan
data:
title: 'Back Home - Set thermostate to Home'