gonzalop / wombatt

A tool for monitoring batteries and inverters.
MIT License
12 stars 2 forks source link

HA/MQTT some warnings/errors with LifePower4 metrics/sensors #4

Closed techytrev closed 7 months ago

techytrev commented 7 months ago

Hi @gonzalop,

I've had some time to soak wombatt with LifePower4 batteries. Everything is working very well. I am seeing a few issues with HA/MQTT (11.2) though, which I thought I'd share with you.

  1. Using kWh instead of, W or kW as unit of measurement. "cumulative_discharge_power" & "cumulative_charging_power"

  2. Illegal characters for "remaining_capacity" metric.

  3. Using '°K' instead of 'K', as unit of measurement.

See logs below. 2023-12-12 21:27:55.884 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery2_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:55.885 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery2_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.090 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery3_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.091 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery3_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.226 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery4_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.227 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery4_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.321 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery5_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.321 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery5_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.488 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery6_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.489 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery6_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.593 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery7_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.594 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery7_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.721 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery8_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.722 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery8_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.848 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery9_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.872 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery9_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.917 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery10_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:56.930 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery10_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:57.092 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery11_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:57.092 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery11_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:57.671 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery12_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:57.671 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery12_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:57.807 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery13_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:57.808 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery13_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic 2023-12-12 21:27:59.533 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.534 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.536 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.537 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.540 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.542 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.543 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.543 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.544 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.545 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_2_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.567 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.568 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.569 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.570 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.574 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.575 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.575 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.576 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.577 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.577 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_3_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.594 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.595 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.596 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.597 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.600 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.601 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.603 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.604 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.604 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.605 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_4_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.621 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.622 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.624 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.625 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.628 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.629 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.630 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.631 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.632 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.632 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_5_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.651 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.652 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.653 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.654 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.657 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.657 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.658 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.659 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.659 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.660 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_6_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.785 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.786 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.787 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.787 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.793 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.793 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.794 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.795 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.795 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.796 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_7_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.824 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.824 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.826 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.827 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.833 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.835 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.836 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.836 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.837 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.838 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_8_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.860 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.861 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.862 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.863 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.872 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.872 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.873 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.874 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.874 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.877 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_9_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.915 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.916 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.918 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.919 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.924 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.924 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.925 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.926 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.926 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.928 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_10_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.956 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.957 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.959 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_min_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.964 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_max_cell_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.968 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_mosfet_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.971 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_environment_temp (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.972 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_cell_temp_4 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.973 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_cell_temp_3 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.973 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_cell_temp_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.974 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_11_cell_temp_1 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '°K' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°C', '°F', 'K']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.998 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_12_cumulative_discharge_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-12-12 21:27:59.999 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eg4_pack1_battery_12_cumulative_charging_power (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kWh' which is not a valid unit for the device class ('power') it is using; expected one of ['W', 'kW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

Thanks

gonzalop commented 7 months ago

I see. There's a colon in the MQTT topic, and somehow the list of temperature units does not have the degree symbol for K (while it does for C and F!?). I'll take a look in 8-10h and address all the issues. The logs are going to be super useful. Thank you!

techytrev commented 7 months ago

Thanks for the update.

haha. Yes, I would have never guessed it would want degree symbols for C & F, but not K. ['°C', '°F', 'K']. But that's what the HA log says. If you find you need more info, just let me know.

FYI - here's my wombatt options, just in case it's relevent.

` - monitor-batteries

gonzalop commented 7 months ago

Hopefully that fixes it. I've created v0.0.5 and updated the docker images with these changes. Thanks!

techytrev commented 7 months ago

@gonzalop - Thanks again for the awesome support! I pulled the new docker image.

I can confirm, two of the items (kWh to kW & °K to K) have corrected in HA and the system has indicated as such. It's now complaining old & new data are different, but I think the old units will just phase out over time. No issues here.

I do have 2 issues remaining. I restarted HA a couple times, just to be sure the warnings come back. And they did.

  1. Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery11_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic

  2. Template variable warning: 'dict object' has no attribute 'remaining_capacity' when rendering '{{ value_json.remaining_capacity }}' Template variable warning: 'dict object' has no attribute 'full_capacity' when rendering '{{ value_json.full_capacity }}'

    Logs:

    
    Logger: homeassistant.components.mqtt.discovery
    Source: components/mqtt/discovery.py:154
    Integration: MQTT (documentation, issues)
    First occurred: 8:10:45 PM (24 occurrences)
    Last logged: 8:10:46 PM
    Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery11_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic
    Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery12_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic
    Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery12_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic
    Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery13_remaining_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic
    Received message on illegal discovery topic 'homeassistant/sensor/eg4_pack1_battery13_full_capacity:/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic

Logger: homeassistant.helpers.template Source: helpers/template.py:2260 First occurred: 8:10:49 PM (24 occurrences) Last logged: 8:10:50 PM Template variable warning: 'dict object' has no attribute 'remaining_capacity' when rendering '{{ value_json.remaining_capacity }}' Template variable warning: 'dict object' has no attribute 'full_capacity' when rendering '{{ value_json.full_capacity }}'


Logs for the fixed ones you did, in case you're interested.

Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:204 Integration: Sensor (documentation, issues) First occurred: 8:00:11 PM (96 occurrences) Last logged: 8:00:12 PM The unit of sensor.eg4_pack1_battery_13_cell_temp_4 is changing, got multiple {'K', '°K'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (°K). Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_13_environment_temp is changing, got multiple {'K', '°K'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (°K). Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_13_mosfet_temp is changing, got multiple {'K', '°K'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (°K). Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_13_max_cell_temp is changing, got multiple {'K', '°K'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (°K). Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_13_min_cell_temp is changing, got multiple {'K', '°K'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (°K). Go to https://my.home-assistant.io/redirect/developer_statistics to fix this

Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:232 Integration: Sensor (documentation, issues) First occurred: 8:00:11 PM (27 occurrences) Last logged: 8:00:12 PM The unit of sensor.eg4_pack1_battery_11_cumulative_discharge_power (kW) cannot be converted to the unit of previously compiled statistics (kWh). Generation of long term statistics will be suppressed unless the unit changes back to kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_12_cumulative_charging_power (kW) cannot be converted to the unit of previously compiled statistics (kWh). Generation of long term statistics will be suppressed unless the unit changes back to kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_12_cumulative_discharge_power (kW) cannot be converted to the unit of previously compiled statistics (kWh). Generation of long term statistics will be suppressed unless the unit changes back to kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_13_cumulative_charging_power (kW) cannot be converted to the unit of previously compiled statistics (kWh). Generation of long term statistics will be suppressed unless the unit changes back to kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this The unit of sensor.eg4_pack1_battery_13_cumulative_discharge_power (kW) cannot be converted to the unit of previously compiled statistics (kWh). Generation of long term statistics will be suppressed unless the unit changes back to kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this



Thanks
gonzalop commented 7 months ago
  1. Unfortunately, the discovery topics are set to be retained so the typoed ones need to be deleted. I use mosquitto and when I've had similar problems, I've stopped the server, deleted the persistent database from disk and started the server again. If that's not an option for you, simply deleting the offending topic(s) will do: mosquitto_pub -h <mqtttserver> -t the/invalid/topic -u <username> -P <password> -n -r -d
  2. That error should not happen if everything is alright. Maybe HA is still confused due to the typos in the discovery topics or the problem with the kW vs kWh? If not, could you check what you get when running mosquitto_sub -t homeassistant/sensor/eg4_pack1_battery11_info/state on any battery? TIA.
  3. I assume you've already cleared out the bad statistics using kWh using the /developer-tools/statistics in HA. They should show up with a 'Fix issue' button on the right, and allows you to delete them.
techytrev commented 7 months ago

Aha, I didn't know about the purging in MQTT or HA statistics. I did a bunch of cleanups and all is looking good, now.

Thanks for your wisdom!