Skip to content

Update sensor.py#8

Open
jessejamesjohnston wants to merge 1 commit into
sargonas:mainfrom
jessejamesjohnston:main
Open

Update sensor.py#8
jessejamesjohnston wants to merge 1 commit into
sargonas:mainfrom
jessejamesjohnston:main

Conversation

@jessejamesjohnston

Copy link
Copy Markdown

In newer HA versions (2025.1+), ENERGY_WATT_HOUR and POWER_WATT were removed from homeassistant.const and replaced with the new unit enums UnitOfEnergy.WATT_HOUR and UnitOfPower.WATT

In newer HA versions (2025.1+), ENERGY_WATT_HOUR and POWER_WATT were finally removed from homeassistant.const and replaced with the new unit enums UnitOfEnergy.WATT_HOUR and UnitOfPower.WATT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant