-
Notifications
You must be signed in to change notification settings - Fork 4
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
Hello, is it possible to fix this for next year's version #15
Comments
Hey, thanks for the report. Would it be possivle that you test the chances when I make them? |
Hi, I got the same log. So if you need somebody to test it, I can support :) |
Hi @patricknitsch and @Thunderbird1982 I have created the fix at branch The easiest way to test it is to replace the content of the file Waiting for your feedback before creating a new release. Thank you. |
I tested it. I didn't get a warning, but a fault. See my log below. Logger: homeassistant.loader Unexpected exception importing platform custom_components.kostal_piko.sensor Is there anything missing? |
Ahh forgot to import UnitOfElectricCurrent. I have updated the const.py file. Can you please give it another try? Thank you for the fast feedback! |
I added it in my file. "UnitOfEnergy" was also missing. Now it works. I got no error. |
Sorry 🙈 I was too tired I guess 🙈 Thank you for testing. I will make the changes in the evening and create a new release |
No Problem. Thank you as well for your work. Glad I could help :) |
@patricknitsch can you maybe give the const.py of my branch another try, please? If it is now working I will create the release. Thank you. |
It works now! Good Job! |
Thank you. Release v1.20 is now available |
thank you for the fix works perfect |
Logger: homeassistant.const
Source: helpers/deprecation.py:204
First occurred: 13:18:59 (7 occurrences)
Last logged: 13:18:59
POWER_KILO_WATT was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT
ELECTRIC_POTENTIAL_VOLT was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT
TIME_HOURS was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS
ELECTRIC_CURRENT_AMPERE was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE
FREQUENCY_HERTZ was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ
thanks Adrian
The text was updated successfully, but these errors were encountered: