mill1000 / midea-ac-py

Home Assistant custom integration to control Midea (and associated brands) air conditioners via LAN.
MIT License
150 stars 15 forks source link

Fix unavailable energy sensors #202

Closed mill1000 closed 2 months ago

mill1000 commented 2 months ago

Call super's async_added_to_hass() in energy sensors to ensure lifecycle is properly handled.

Without this call, the sensors are not updated likely because the Update Coordinator does not know about them.

Close #201