sermatec-opensource / homeassistant-sermatec-inverter

Home Assistant custom component for the Sermatec solar inverter.
MIT License
9 stars 2 forks source link

solar_inverter_battery_temperature wrong unit #18

Closed andreondra closed 1 year ago

andreondra commented 1 year ago

In the newest version the Home Assistant reports:

Entity sensor.solar_inverter_battery_temperature (<class 'custom_components.sermatec_inverter.sensor.SermatecSensor'>) is using native unit of measurement '˚C' which is not a valid unit for the device class ('temperature') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

mathieupotier commented 1 year ago

Seems related to this documentation : https://developers.home-assistant.io/docs/core/entity/sensor

mathieupotier commented 1 year ago

Issue spotted, the char used in unit string was not the good one, PR on the way ...