Skip to content

Instantly share code, notes, and snippets.

@sstratoti
Created May 23, 2022 02:45
Show Gist options
  • Save sstratoti/c5706a1e78cac0ae979baf2983f19614 to your computer and use it in GitHub Desktop.
Save sstratoti/c5706a1e78cac0ae979baf2983f19614 to your computer and use it in GitHub Desktop.
binary_sensor:
- platform: template
sensors:
2nd_floor_hvac_cooling:
value_template: "{{ is_state_attr('climate.my_ecobee3', 'hvac_action', 'cooling') }}"
friendly_name: HVAC Cooling
- platform: template
sensors:
2nd_floor_fan_running:
value_template: "{{ is_state_attr('climate.my_ecobee3', 'fan', 'on') }}"
friendly_name: HVAC Fan Running
- platform: template
sensors:
2nd_floor_hvac_heating:
value_template: "{{ is_state_attr('climate.my_ecobee3', 'hvac_action', 'heating') }}"
friendly_name: HVAC Heating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment