Files
home_assistant_config/binary_sensors.yaml
2024-04-22 15:06:39 -04:00

10 lines
333 B
YAML

# - platform: template
# name: "hvac_heating"
# sensors:
# - binary_sensor:
# name: "hvac_heating"
# state: "{{ state_attr('climate.thermostat_2', 'hvac_action') == 'heating' }}"
# - platform: template
# name: "hvac_cooling"
# state: "{{ state_attr('climate.thermostat_2', 'hvac_action') == 'cooling' }}"