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

Deprecation ENERGY_KILO_WATT_HOUR HA Core 2025.1. #162

Closed
6 tasks done
jobvk opened this issue Jan 17, 2024 · 0 comments · Fixed by #165
Closed
6 tasks done

Deprecation ENERGY_KILO_WATT_HOUR HA Core 2025.1. #162

jobvk opened this issue Jan 17, 2024 · 0 comments · Fixed by #165
Assignees
Labels
bug Something isn't working

Comments

@jobvk
Copy link
Owner

jobvk commented Jan 17, 2024

Checklist

  • I'm running the latest version of the Windcentrale integration.
  • I checked if there is not a duplicate issue with the same question.
  • I have read the README.md page.
  • This issue is a bug related to the Windcentrale integration.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • I have filled out the issue template to the best of my ability.

The Problem

ENERGY_KILO_WATT_HOUR was used from windcentrale, 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/jobvk/Home-Assistant-Windcentrale/issues

Diagnostics

Not needed look at log

Anything in the logs that might be useful for us?

2024-01-15 09:57:51.135 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from windcentrale, 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/jobvk/Home-Assistant-Windcentrale/issues

Additional information

No response

@jobvk jobvk added the bug Something isn't working label Jan 17, 2024
@jobvk jobvk self-assigned this Jan 17, 2024
@jobvk jobvk mentioned this issue Feb 3, 2024
@jobvk jobvk closed this as completed in #165 Feb 3, 2024
jobvk added a commit that referenced this issue Feb 3, 2024
# Release 2024.2.1

## Added
- Nothing

## Updated
- Boto3 1.33.6 -> 1.34.34
- pycognito 2023.5.0 - > 2024.1.0
- Fix #162 change `ENERGY_KILO_WATT_HOUR` to `UnitOfEnergy.KILO_WATT_HOUR`

## Removed
- Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant