jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.
MIT License
64 stars 30 forks source link

setting 'unit_of_measurement' on an instance of SensorEntityDescription #34

Closed jcgoette closed 3 years ago

jcgoette commented 3 years ago

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.

jcgoette commented 3 years ago

Per https://github.com/home-assistant/core/pull/54867, change unit_of_measurementto native_unit_of_measurement.

jcgoette commented 3 years ago

Closed by 307f355b6e9743dc2a7ef65c27461bd03e6c1a36.