PiotrMachowski / Home-Assistant-custom-components-Tauron-AMIplus

This sensor uses unofficial API to get energy usage and generation data from https://elicznik.tauron-dystrybucja.pl.
MIT License
128 stars 34 forks source link

Use unit of measurement from new const #177

Open maureis opened 6 months ago

maureis commented 6 months ago

Related to warning from Home Assistant logs:

ENERGY_KILO_WATT_HOUR was used from tauron_amiplus, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead (...)