Closed ColinRobbins closed 1 year ago
Testing a fix...
The documentation (https://developers.home-assistant.io/docs/core/entity/sensor/#available-device-classes) still indicates that if your sensor is in kWh, the device class should be energy, so I don't think this is the solution.
It looks like this is a bug in Home Assistant Core - https://github.com/home-assistant/core/issues/81496
Describe the bug HA 2022.11 introduced a breaking change. Gas sensors need to be
DEVICE_CLASS_GAS
rather thanDEVICE_CLASS_ENERGY
Otherwise they will not be available to the Energy integration.