-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CONSTANT_X was used from eltako, this is a deprecated constant which will be removed in HA Core 2025.1. Use CONSTANT_Y instead. #61
Comments
A little clearer in the appendix: DEVICE_CLASS_AQI = SensorDeviceClass.AQI |
Hello @LHBL2003, thanks for reporting! I will resolve this any to explicit imports and hopefully it will be gone. |
Hello @LHBL2003, The warnings should be removed with v1.3.7. Let me know if this ticket is good to be closed. |
Yes, that is in from the very first moment. So far the priority was not real high for me to remove it because it doesn't break something. Of course it is not really nice. After the big clean up in 1.3.7 those are the last error messages I'm aware of. |
I checked some options to avoid the creation of entities if they are already available but so far I was not successful. |
The log file reports a lot of early warnings like this:
2024-02-02 20:22:24.686 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_AQI was used from eltako, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.AQI instead, please create a bug report at https://github.com/grimmpp/home-assistant-eltako/issues
home-assistant_Log_Constant_Warnings.txt
HA version used:
Version core-2024.1.6
Host operating system Home Assistant OS 11.4
Supervisor version supervisor-2023.12.1
Python version 3.11.6
Operating system version 6.1.63-haos-raspi
The text was updated successfully, but these errors were encountered: