###################################################
## * [Nest Thermostats](http://amzn.to/2eAhB1k)
###################################################

- platform: template
  sensors:
     upstairs_away_mode:
       entity_id: climate.upstairs
       value_template: "{{ is_state_attr('climate.upstairs', 'away_mode', 'on') }}"

- platform: template
  sensors:
     downstairs_away_mode:
       entity_id: climate.downstairs
       value_template: "{{ is_state_attr('climate.downstairs', 'away_mode', 'on') }}"