StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
615 stars 111 forks source link

ENERGY_WATT_HOUR was used from shelly, this is a deprecated constant which will be removed in HA Core 2025.1. #770

Open Trzinka opened 6 months ago

Trzinka commented 6 months ago

Environment

Log Details (WARNING)
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 12:10:58 (16 occurrences)
Last logged: 12:11:11

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

Describe the bug

Steps to Reproduce

Expected behavior

Screenshots

Traceback/Error logs

Additional context