no more info after home assistant update
DJerike opened this issue · 1 comments
i am currently running Home assistant version 2023.4.6, and use the Faninfo information, so "low","auto" and "high" to make icons spin on state and change color on state.
If i update to Home assistant 2023.8.4 Faninfo only gives me "unknow" as state.
If i roll back to the previous version(2023.4.6) all works fine.
MQTT is working, i can controll the unit and all other sensor values are good and working.
If i look on MQTT info i see that de Faninfo message is correctly published but i get state "unknown" when i look it up in the entity page.
I think it is not an issue with the module, but home assistant changes something after the update.
this is where i use it:
type: custom:mushroom-template-card
entity: switch.ithofan_auto
icon: mdi:fan-auto
icon_color: |-
{% if is_state('switch.ithofan_auto', 'on') %}
green
{% else %}
red
{% endif %}
badge_icon: mdi:fan
badge_color: teal
secondary: ''
card_mod:
style: |
{% if is_state('sensor.faninfo_sensor', 'low') %}
mushroom-badge-icon {
animation: rotation 1s linear infinite;
}
@keyframes rotation {
100% {
transform: rotate(360deg);
}
}
{% endif %}
my configuration.yalm:
mqtt:
sensor:
- name: "ITHO CO2"
state_topic: "itho/ithostatus"
unit_of_measurement: "ppm"
value_template: "{{ value_json['CO2level (ppm)'] }}"
- name: "Fan speed"
state_topic: "itho/ithostatus"
unit_of_measurement: "rpm"
value_template: "{{ value_json['Fan speed (rpm)'] }}"
- name: "FanInfo sensor"
state_topic: "itho/ithostatus"
unit_of_measurement: ""
value_template: "{{ value_json['FanInfo'] }}"
unique_id: "fanInfo_sensor"
Device information
- Firmware version 2.5.4
- Hardware revision (?)
- Type/model number Itho (itho cve-s co2 optima inside)
- CC1101 RF module enabled [yes]
- In case of wifi issues, wifi access point (no issues)
Debug logging
Please provide debug logging from the debug page if possible:
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
I got a tip from the home assistant community forum,
by removing
unit_of_measurement: ""
The problem was solved after this change.