Skip to content
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

More Deprecated Constants #93

Open
eikowagenknecht opened this issue Jan 31, 2024 · 2 comments
Open

More Deprecated Constants #93

eikowagenknecht opened this issue Jan 31, 2024 · 2 comments

Comments

@eikowagenknecht
Copy link

eikowagenknecht commented Jan 31, 2024

Describe the bug
It seems like in #87 some were already fixed, but using 0.25.3 there are still error messages:

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 15:28:45 (2 occurrences)
Last logged: 15:28:45

TEMP_CELSIUS was used from goecharger, 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/cathiele/homeassistant-goecharger/issues
ENERGY_KILO_WATT_HOUR was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/cathiele/homeassistant-goecharger/issues
Logger: homeassistant.components.sensor
Source: helpers/deprecation.py:205
Integration: Sensor (documentation, issues)
First occurred: 15:28:45 (2 occurrences)
Last logged: 15:28:45

STATE_CLASS_TOTAL_INCREASING was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/cathiele/homeassistant-goecharger/issues

Additional context
Needs to be fixed this year.

@GeoBau
Copy link

GeoBau commented Apr 4, 2024

ENERGY_KILO_WATT_HOUR was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/cathiele/homeassistant-goecharger/issues

@JHPWBN
Copy link

JHPWBN commented Apr 24, 2024

Same here, @cathiele I hope you will fix this before it is too late?
Logger: homeassistant.components.sensor
Source: helpers/deprecation.py:206
integration: Sensor (documentation, issues)
First occurred: 08:52:37 (2 occurrences)
Last logged: 08:52:37

STATE_CLASS_TOTAL_INCREASING was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'goecharger' custom integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants