athom-tech / esp32-configs

ESP32 configuration for athom device
26 stars 8 forks source link

Incorrect Temperature Unit #17

Closed holdestmade closed 1 month ago

holdestmade commented 1 month ago

This uses '℃'

Should be '°C'

Homeassistant is throwing this error:

Entity sensor.distribution_board_energy_monitorr_temperature (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using native unit of measurement '℃' which is not a valid unit for the device class ('temperature') it is using; expected one of ['K', '°C', '°F']; 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+esphome%22

You could leave it out as setting a device_classof temperature will set the unit

tarontop commented 1 month ago

Fixed