JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

ENERGY_KILO_WATT_HOUR will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead #146

Open nohn opened 4 months ago

MBungalski commented 3 months ago

Looks like it is already fixed in commit c286eee98a3df7c262821e2d089ff3945701a987

olafz commented 2 months ago

Looks like it is already fixed in commit c286eee

There doesn't seem to be a version released since this commit. As a consequence, you still get the same error with the most recent Home Assistant (2024.4.4) and the most recent ENTSO-e addon (version v0.3.0).

aodtcr commented 1 month ago

Still an issue, as there is no version update.

Logger: homeassistant.const
Source: helpers/deprecation.py:206
First occurred: 10:40:11 (1 occurrences)
Last logged: 10:40:11

ENERGY_KILO_WATT_HOUR was used from entsoe, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'entsoe' custom integration