dvd-dev / hilo

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

Deprecation en 2024.5 #400

Closed ic-dev21 closed 3 months ago

ic-dev21 commented 3 months ago

Version of the custom_component

2024.3.2

Describe the bug

Les suggested unit of measurements ont été changées dans le code-base de HA, doivent être retirées du code avant 2024.5

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:394
integration: Sensor (documentation, issues)
First occurred: 3:18:10 PM (10 occurrences)
Last logged: 3:18:41 PM

<class 'custom_components.hilo.sensor.HiloRewardSensor'> sets an invalid suggested_unit_of_measurement. Please create a bug report at https://github.com/dvd-dev/hilo/issues. This warning will become an error in Home Assistant Core 2024.5
<class 'custom_components.hilo.sensor.EnergySensor'> sets an invalid suggested_unit_of_measurement. Please create a bug report at https://github.com/dvd-dev/hilo/issues. This warning will become an error in Home Assistant Core 2024.5
ic-dev21 commented 3 months ago

Fixed dans #401