briancmpbll / home_assistant_custom_envoy

171 stars 76 forks source link

Add missing device_class POWER #181

Closed PoppyPop closed 4 months ago

PoppyPop commented 4 months ago

Hello, small PR to add missing device_class.

I think this will fix the issue https://github.com/home-assistant/core/issues/109969 for some users.

catsmanac commented 4 months ago

Thanks @PoppyPop, tested it and works fine, well doesn't break ;-). Can you reload using HACS and select main instead of a release and confirm the fix works? If ok I'll build the release.

PoppyPop commented 4 months ago

Tested with the main tag, i needed to reboot twice, but the repair issue disapear and i recovered my unit of measurement !

catsmanac commented 4 months ago

After loading Main, the 0.0.19 release will pop up as new one indeed. I'll release 0.0.20 tomorrow.

The new HA Core Enphase Envoy has all the device classes already, so it's custom integration that may have this issue.

catsmanac commented 4 months ago

V0.0.20 is published. Thanks @PoppyPop