b3nn0 / hassio-addon-ism7mqtt

HomeAssistant Addon for running ism7mqtt to fetch data from Wolf heaters
Apache License 2.0
29 stars 3 forks source link

The option options can only be used together with device class enum #66

Closed e0909 closed 2 months ago

e0909 commented 2 months ago

Since the update of HA to 2024.9.0 image

Im getting the Error: _'The option options can only be used together with device class enum, got device_class 'None'' when processing MQTT discovery message topic_

`Logger: homeassistant.components.mqtt.mixins Source: components/mqtt/mixins.py:166 integration: MQTT (documentation, issues) First occurred: 19:03:38 (25 occurrences) Last logged: 19:03:39

Error 'The option options can only be used together with device class enum, got device_class 'None'' when processing MQTT discovery message topic: 'homeassistant/sensor/wolf_CGB2_0x3_180164_Eingang_E4/config', message: '{'unique_id': 'wolf_CGB2_0x3_180164_Eingang_E4', 'state_topic': 'Wolf/192.168.1.51/CGB-2_0x8/Eingang_E4/text', 'object_id': 'wolf_CGB2_0x3_180164_Eingang_E4', 'options': ['Geöffnet', 'Geschlossen'], 'device': {'configuration_url': 'http://192.168.1.51/', 'manufacturer': 'Wolf', 'model': 'CGB-2', 'connections': [['ip_dev', '192.168.1.51_CGB-2']], 'name': 'wolf CGB-2'}, 'name': 'Eingang E4', 'platform': 'mqtt'}' Error 'The option options can only be used together with device class enum, got device_class 'None'' when processing MQTT discovery message topic: 'homeassistant/sensor/wolf_CGB2_0x3_180165_Funktion_Eingang_E3/config', message: '{'unique_id': 'wolf_CGB2_0x3_180165_Funktion_Eingang_E3', 'state_topic': 'Wolf/192.168.1.51/CGB-2_0x8/Funktion_Eingang_E3/text', 'object_id': 'wolf_CGB2_0x3_180165_Funktion_Eingang_E3', 'options': ['Keine Funktion', 'Raumthermostat', 'Sperrung/Freigabe Warmwasser', 'Sperrung/Freigabe Heizung und Warmwasser', 'Zirkomat (Zirkulationstaster)', 'Betrieb ohne Brenner (Brennersperrung)', 'Abgas-/Zuluftklappe', 'Betrieb ohne Heizung (Brenner- und Pumpensperrung)', 'Externe Störmeldung mit Störabschaltung', 'Externe Störmeldung ohne Störabschaltung'], 'device': {'configuration_url': 'http://192.168.1.51/', 'manufacturer': 'Wolf', 'model': 'CGB-2', 'connections': [['ip_dev', '192.168.1.51_CGB-2']], 'name': 'wolf CGB-2'}, 'name': 'Funktion Eingang E3', 'platform': 'mqtt'}' Error 'The option options can only be used together with device class enum, got device_class 'None'' when processing MQTT discovery message topic: 'homeassistant/sensor/wolf_CGB2_0x3_180166_Funktion_Eingang_E4/config', message: '{'unique_id': 'wolf_CGB2_0x3_180166_Funktion_Eingang_E4', 'state_topic': 'Wolf/192.168.1.51/CGB-2_0x8/Funktion_Eingang_E4/text', 'object_id': 'wolf_CGB2_0x3_180166_Funktion_Eingang_E4', 'options': ['Keine Funktion', 'Raumthermostat', 'Sperrung/Freigabe Warmwasser', 'Sperrung/Freigabe Heizung und Warmwasser', 'Zirkomat (Zirkulationstaster)', 'Betrieb ohne Brenner (Brennersperrung)', 'Abgas-/Zuluftklappe', 'Betrieb ohne Heizung (Brenner- und Pumpensperrung)', 'Externe Störmeldung mit Störabschaltung', 'Externe Störmeldung ohne Störabschaltung'], 'device': {'configuration_url': 'http://192.168.1.51/', 'manufacturer': 'Wolf', 'model': 'CGB-2', 'connections': [['ip_dev', '192.168.1.51_CGB-2']], 'name': 'wolf CGB-2'}, 'name': 'Funktion Eingang E4', 'platform': 'mqtt'}' Error 'The option options can only be used together with device class enum, got device_class 'None'' when processing MQTT discovery message topic: 'homeassistant/sensor/wolf_CGB2_0x3_180167_Funktion_Ausgang_A3/config', message: '{'unique_id': 'wolf_CGB2_0x3_180167_Funktion_Ausgang_A3', 'state_topic': 'Wolf/192.168.1.51/CGB-2_0x8/Funktion_Ausgang_A3/text', 'object_id': 'wolf_CGB2_0x3_180167_Funktion_Ausgang_A3', 'options': ['Keine Funktion', 'Zirkulationspumpe 100%', 'Zirkulationspumpe 50%', 'Zirkulationspumpe 20%', 'Flamme', 'Abgasklappe', 'Zirkomat', 'Störmeldung', 'Fremdbelüftung', 'Brennstoffventil', 'Heizkreispumpe'], 'device': {'configuration_url': 'http://192.168.1.51/', 'manufacturer': 'Wolf', 'model': 'CGB-2', 'connections': [['ip_dev', '192.168.1.51_CGB-2']], 'name': 'wolf CGB-2'}, 'name': 'Funktion Ausgang A3', 'platform': 'mqtt'}' Error 'The option options can only be used together with device class enum, got device_class 'None'' when processing MQTT discovery message topic: 'homeassistant/sensor/wolf_CGB2_0x3_180168_Funktion_Ausgang_A4/config', message: '{'unique_id': 'wolf_CGB2_0x3_180168_Funktion_Ausgang_A4', 'state_topic': 'Wolf/192.168.1.51/CGB-2_0x8/Funktion_Ausgang_A4/text', 'object_id': 'wolf_CGB2_0x3_180168_Funktion_Ausgang_A4', 'options': ['Keine Funktion', 'Zirkulationspumpe 100%', 'Zirkulationspumpe 50%', 'Zirkulationspumpe 20%', 'Flamme', 'Abgasklappe', 'Zirkomat', 'Störmeldung', 'Fremdbelüftung', 'Brennstoffventil', 'Heizkreispumpe'], 'device': {'configuration_url': 'http://192.168.1.51/', 'manufacturer': 'Wolf', 'model': 'CGB-2', 'connections': [['ip_dev', '192.168.1.51_CGB-2']], 'name': 'wolf CGB-2'}, 'name': 'Funktion Ausgang A4', 'platform': 'mqtt'}'`

b3nn0 commented 2 months ago

I fixed it upstream. Use the experimental addon to make it work again.