Hive-Custom-Component
Hive-Custom-Component copied to clipboard
[BUG] Warning about 2025.1 Deprecated Constants
Describe the bug Getting a couple of warnings in logs about 2025.1 Deprecated Constants
POWER_WATT was used from hive, 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/Pyhass/Hive-Custom-Component/issues
TEMP_CELSIUS was used from hive, 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/Pyhass/Hive-Custom-Component/issues
To Reproduce Restart HA
Expected behaviour NA
Screenshots NA
Desktop (please complete the following information):
- OS: Windows 11
- Chrome
- Version 120.0.6099.217
Additional context None
I've created a PR for this, but not sure if anyone is monitoring this repo to merge it!
https://github.com/Pyhass/Hive-Custom-Component/pull/154
I've created a PR for this, but not sure if anyone is monitoring this repo to merge it!
Many thanks, I've added these changes manually for now. It also showed me how to update another custom component with similar warnings