ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
442 stars 62 forks source link

Might be missing degree in oC #82

Closed Anto79-ops closed 1 year ago

Anto79-ops commented 1 year ago

Hi, Just updated to 1.8, and noticed this on my HA logs

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:677
Integration: Sensor (documentation, issues)
First occurred: 8:20:30 PM (1 occurrences)
Last logged: 8:20:30 PM

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

And this

Screenshot_20230225-212510.png

ironsheep commented 1 year ago

@Anto79-ops ok, looking into it!

ironsheep commented 1 year ago

Fixes committed and avail. in v1.8.1 and later.