setting 'unit_of_measurement' on an instance of SensorEntityDescription
jcgoette opened this issue · comments
Justin Goette commented
Logger: homeassistant.components.sensor
Source: components/sensor/init.py:151
Integration: Sensor (documentation, issues)
custom_components.babybuddy.const is setting 'unit_of_measurement' on an instance of SensorEntityDescription, this is not valid and will be unsupported from Home Assistant 2021.11. Please report it to the custom component author.
Justin Goette commented
Per home-assistant/core#54867, change unit_of_measurement
to native_unit_of_measurement
.
Justin Goette commented
Closed by 307f355.