mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
adding weird untracked
This commit is contained in:
@@ -1,69 +1,69 @@
|
||||
template:
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: climate.thermostat
|
||||
# not_from:
|
||||
# - "unknown"
|
||||
# - "unavailable"
|
||||
|
||||
# - platform: event
|
||||
# event_type: event_template_reloaded
|
||||
# id: "reload"
|
||||
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
- binary_sensor:
|
||||
- name: "HVAC: Aux"
|
||||
unique_id: "custom_binary_sensor.hvac_aux"
|
||||
icon: mdi:fire
|
||||
device_class: running
|
||||
availability: "{{ states('climate.thermostat') not in ['unkown', 'unavailable'] }}"
|
||||
state: >
|
||||
{% if 'aux' in state_attr('climate.thermostat','equipment_running') %}{{'true'}}{% else %}{{'false'}}{% endif %}
|
||||
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: climate.thermostat
|
||||
# not_from:
|
||||
# - "unknown"
|
||||
# - "unavailable"
|
||||
|
||||
# - platform: event
|
||||
# event_type: event_template_reloaded
|
||||
# id: "reload"
|
||||
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
- binary_sensor:
|
||||
- name: "HVAC: Fan"
|
||||
unique_id: "custom_binary_sensor.hvac_fan"
|
||||
icon: mdi:fan
|
||||
device_class: running
|
||||
availability: "{{ states('climate.thermostat') not in ['unkown', 'unavailable'] }}"
|
||||
state: >
|
||||
{% if 'fan' in state_attr('climate.thermostat','equipment_running') %}{{'true'}}{% else %}{{'false'}}{% endif %}
|
||||
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: climate.thermostat
|
||||
# not_from:
|
||||
# - "unknown"
|
||||
# - "unavailable"
|
||||
|
||||
# - platform: event
|
||||
# event_type: event_template_reloaded
|
||||
# id: "reload"
|
||||
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
- binary_sensor:
|
||||
- name: "HVAC: Heat Pump"
|
||||
unique_id: "custom_binary_sensor.hvac_heatpump"
|
||||
icon: mdi:hvac
|
||||
device_class: running
|
||||
availability: "{{ states('climate.thermostat') not in ['unkown', 'unavailable'] }}"
|
||||
state: >
|
||||
template:
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: climate.thermostat
|
||||
# not_from:
|
||||
# - "unknown"
|
||||
# - "unavailable"
|
||||
|
||||
# - platform: event
|
||||
# event_type: event_template_reloaded
|
||||
# id: "reload"
|
||||
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
- binary_sensor:
|
||||
- name: "HVAC: Aux"
|
||||
unique_id: "custom_binary_sensor.hvac_aux"
|
||||
icon: mdi:fire
|
||||
device_class: running
|
||||
availability: "{{ states('climate.thermostat') not in ['unkown', 'unavailable'] }}"
|
||||
state: >
|
||||
{% if 'aux' in state_attr('climate.thermostat','equipment_running') %}{{'true'}}{% else %}{{'false'}}{% endif %}
|
||||
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: climate.thermostat
|
||||
# not_from:
|
||||
# - "unknown"
|
||||
# - "unavailable"
|
||||
|
||||
# - platform: event
|
||||
# event_type: event_template_reloaded
|
||||
# id: "reload"
|
||||
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
- binary_sensor:
|
||||
- name: "HVAC: Fan"
|
||||
unique_id: "custom_binary_sensor.hvac_fan"
|
||||
icon: mdi:fan
|
||||
device_class: running
|
||||
availability: "{{ states('climate.thermostat') not in ['unkown', 'unavailable'] }}"
|
||||
state: >
|
||||
{% if 'fan' in state_attr('climate.thermostat','equipment_running') %}{{'true'}}{% else %}{{'false'}}{% endif %}
|
||||
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: climate.thermostat
|
||||
# not_from:
|
||||
# - "unknown"
|
||||
# - "unavailable"
|
||||
|
||||
# - platform: event
|
||||
# event_type: event_template_reloaded
|
||||
# id: "reload"
|
||||
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
- binary_sensor:
|
||||
- name: "HVAC: Heat Pump"
|
||||
unique_id: "custom_binary_sensor.hvac_heatpump"
|
||||
icon: mdi:hvac
|
||||
device_class: running
|
||||
availability: "{{ states('climate.thermostat') not in ['unkown', 'unavailable'] }}"
|
||||
state: >
|
||||
{% if 'heatPump' in state_attr('climate.thermostat','equipment_running') %}{{'true'}}{% else %}{{'false'}}{% endif %}
|
||||
Reference in New Issue
Block a user