shenxn / ha-dyson

HomeAssitant custom integration for dyson
MIT License
307 stars 59 forks source link

Depreciation warning in logs #198

Open cwesterfield opened 8 months ago

cwesterfield commented 8 months ago

Getting this in my logs. Nothing broken so far, but it says report, so I'm doing that.

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 11:46:12 AM (29 occurrences)
Last logged: 11:46:38 AM

TEMP_CELSIUS was used from ge_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'ge_home' custom integration

DEVICE_CLASS_POWER_FACTOR was used from ge_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER_FACTOR instead, please report it to the author of the 'ge_home' custom integration

DEVICE_CLASS_TEMPERATURE was used from ge_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please report it to the author of the 'ge_home' custom integration

TEMP_CELSIUS was used from dyson_local, 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/shenxn/ha-dyson/issues

TIME_HOURS was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please create a bug report at https://github.com/shenxn/ha-dyson/issues
dotvezz commented 8 months ago

I'd like to point you in this direction: https://github.com/libdyson-wg/ha-dyson

More information is in #185 if you'd like to know the history.