jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setting 'unit_of_measurement' on an instance of SensorEntityDescription

jcgoette opened this issue · comments

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.

Per home-assistant/core#54867, change unit_of_measurement to native_unit_of_measurement.

Closed by 307f355.