tomasmcguinness / homeassistant-mixergy

Add support for Mixergy's smart water tank into Home Assistant
MIT License
38 stars 8 forks source link

Fix PV energy sensor #47

Closed mattjgalloway closed 8 months ago

mattjgalloway commented 8 months ago

The PV energy sensor's available method was wrong. PVEnergySensor does not inherit from MixergyEntityBase so can't call super().available to get access to the centralised logic there.

Probably it's best if we try to make those integration sensors inherit from MixergyEntityBase too - but that's one for another time.