Open shutema opened 10 months ago
Note this is also true for DEVICE_CLASS_POWER:
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 13:38:45 (2 occurrences)
Last logged: 13:38:45
DEVICE_CLASS_POWER was used from waveshare_ups_hat, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please create a bug report at https://github.com/mykhailog/hacs_waveshare_ups_hat/issues
DEVICE_CLASS_BATTERY was used from waveshare_ups_hat, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please create a bug report at https://github.com/mykhailog/hacs_waveshare_ups_hat/issues
Any plans for an update to address this issue?
Hi I am getting the following in my logs:
DEVICE_CLASS_BATTERY was used from waveshare_ups_hat, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please create a bug report at https://github.com/mykhailog/hacs_waveshare_ups_hat/issues