@Skeletitor ,
I have been using your add-on for some time now and am very satisfied. Many thanks for your efforts.
Today I updated Home Assistant to version 2024.9.3. Now the entity “sensor.battery_inverter_fenecon_home_battery_inverter” is missing and I get the following error in the log:
Logger: homeassistant.components.mqtt.mixins
Quelle: components/mqtt/mixins.py:166
Integration: MQTT (Dokumentation, Probleme)
Erstmals aufgetreten: 20:24:14 (2 Vorkommnisse)
Zuletzt protokolliert: 20:24:26
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/fenecon/config', message: '{'value_template': '{% set mapper = {\n "0": "Ok",\n "1": "Info",\n "2": "Warning",\n "3": "Fault"} %}\n{% set state = value | string %}\n{{ mapper[state] if state in mapper else state }}', 'unique_id': 'fenecon', 'options': '', 'state_topic': 'fenecon/fems-_sum-State', 'device': {'sw_version': '2024.9.1', 'model': 'Fenecon Home', 'identifiers': ['fenecon_home'], 'manufacturer': 'Fenecon', 'name': 'Battery Inverter'}, 'name': 'Fenecon Home Battery Inverter', 'platform': 'mqtt'}'
I tried to do a sensor_overwrite and set device_class to enum but it did not solve the problem:
sensor_overwrite:
- "channel;device_class;state_class;device_unit;value_template;name"
- "_sum/State;enum;;;;FEMS: 02 Systemstatus"
What can I do to get the entity “_sum/state” back?