alidonet / GC97_ESP

GC97 meter via ESP8266
MIT License
7 stars 2 forks source link

sensor.gc97_meter_capacity #12

Closed Oleg-Sob closed 2 weeks ago

Oleg-Sob commented 1 month ago

Выдаёт ошибку Entity sensor.gc97_meter_capacity (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'Ah' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'GJ', 'MWh', 'MJ', 'kWh'];

Нужно убрать device class ('energy')

alidonet commented 2 weeks ago

Исправлено в 240504