Consolidate Nest Platform stuff.

This commit is contained in:
ccostan 2018-01-06 13:41:03 -05:00
parent 95a8b07de5
commit 0bb6a1a359
1 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,19 @@
################################################### ###################################################
## * [Nest Thermostats](http://amzn.to/2eAhB1k) ## * [Nest Thermostats](http://amzn.to/2eAhB1k)
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
################################################### ###################################################
- platform: nest
monitored_conditions:
# - 'temperature'
# - 'target'
- 'humidity'
# - 'operation_mode'
# - 'last_connection'
# - 'co_status'
# - 'smoke_status'
- platform: template - platform: template
sensors: sensors:
upstairs_away_mode: upstairs_away_mode:
@ -12,4 +24,4 @@
sensors: sensors:
downstairs_away_mode: downstairs_away_mode:
entity_id: climate.downstairs entity_id: climate.downstairs
value_template: "{{ is_state_attr('climate.downstairs', 'away_mode', 'on') }}" value_template: "{{ is_state_attr('climate.downstairs', 'away_mode', 'on') }}"