ginkage / MHI-AC-Ctrl-ESPHome

ESPHome integration for MHI-AC-Ctrl project
MIT License
101 stars 35 forks source link

Enable energy dashboard usage for `energy_used` sensor #76

Closed hmmbob closed 6 months ago

hmmbob commented 8 months ago

The energy_used sensor provided by MHI-AC-Ctrl-ESPHome cannot be used by the HA energy dashboard, as it doesn't have the correct device_class and state_class defined. This PR fixes that.

Tested locally, works fine.

Fixes #75