dvd-dev / hilo

Home Assistant Hilo Integration via HACS
MIT License
122 stars 26 forks source link

Deprecated units pour les sensors #355

Closed ic-dev21 closed 5 months ago

ic-dev21 commented 5 months ago
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 10:23:28 PM (5 occurrences)
Last logged: 10:23:28 PM

ENERGY_KILO_WATT_HOUR was used from hilo, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/dvd-dev/hilo/issues
POWER_WATT was used from hilo, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/dvd-dev/hilo/issues
SOUND_PRESSURE_DB was used from hilo, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSoundPressure.DECIBEL instead, please create a bug report at https://github.com/dvd-dev/hilo/issues
TEMP_CELSIUS was used from hilo, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/dvd-dev/hilo/issues

https://developers.home-assistant.io/blog/2023/12/19/constant-deprecation/

https://github.com/home-assistant/core/pull/105736

ic-dev21 commented 5 months ago

Closed by #356