bouwew / sems2mqtt

GoodWe SEMS MQTT-componenent for Home Assistant
MIT License
10 stars 9 forks source link

Invalid Unit of Measure for Voltage and Current #24

Closed grehund closed 1 year ago

grehund commented 1 year ago

Logger: homeassistant.components.sensor Source: components/sensor/init.py:669 Integration: Sensor

Entity sensor.sems_str_1_voltage (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'VDC' which is not a valid unit for the device class ('voltage') it is using; expected one of ['mV', 'V'];

Entity sensor.sems_grid_current (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'IAC' which is not a valid unit for the device class ('current') it is using; expected one of ['A', 'mA'];

Entity sensor.sems_grid_voltage (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'VAC' which is not a valid unit for the device class ('voltage') it is using; expected one of ['mV', 'V'];


PR incoming.