Open haseat opened 1 year ago
I have noticed lately that the device classes for showing the status are being ignored, e.g. for my window sensors:
config.yaml:
all_window_sensors: friendly_name: "All Window Sensors" device_class: window value_template: >- {% if states('group.all_window_sensors') == 'on' %} on {% elif states('group.all_window_sensors') == 'off' %} off {% else %} n/a {% endif %} icon_template: > {% if states('group.all_window_sensors') == 'on' %} mdi:window-open {% elif states('group.all_window_sensors') == 'off' %} mdi:window-closed {% else %} mdi:help {% endif %}
card configuration:
- title: Windows entities: - entity: binary_sensor.all_window_sensors name: All Windows
status 'off' in homekit panel card:
status 'closed' in entities card:
The same is happening for persons, before a person used to be home/away, now i see home/not_home.
I have noticed lately that the device classes for showing the status are being ignored, e.g. for my window sensors:
config.yaml:
card configuration:
status 'off' in homekit panel card:![image](https://user-images.githubusercontent.com/61622258/233144462-c2b0578c-d0be-45bb-8c19-a2f97ea8eb21.png)
status 'closed' in entities card:![image](https://user-images.githubusercontent.com/61622258/233145187-3e93ff87-b3b2-4389-9913-b7c405b13250.png)
The same is happening for persons, before a person used to be home/away, now i see home/not_home.