jobvk / Home-Assistant-Windcentrale

Provides Home Assistant sensors for multiple wind turbines from the Windcentrale
https://jobvankoeveringe.com/projects/windcentrale/
Apache License 2.0
14 stars 3 forks source link

Deprecation ENERGY_KILO_WATT_HOUR HA Core 2025.1. #162

Closed jobvk closed 7 months ago

jobvk commented 8 months ago

Checklist

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