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 was used from entsoe, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead #137

Closed hapklaar closed 5 months ago

hapklaar commented 5 months ago
Logger: homeassistant.const
Source: custom_components/entsoe/const.py:7
Integration: ENTSO-e Transparency Platform ([documentation](https://github.com/JaccoR/hass-entso-e), [issues](https://github.com/JaccoR/hass-entso-e/issues))
First occurred: 19:42:02 (1 occurrences)
Last logged: 19:42:02

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 create a bug report at https://github.com/JaccoR/hass-entso-e/issues
scop commented 5 months ago

Untested fix in #138