mathieu-mp / aio-intex-spa

Python client for Intex Spa wifi interface
https://pypi.org/project/aio-intex-spa/
MIT License
17 stars 2 forks source link

Make _async_handle_intent always return a status #17

Closed mathieu-mp closed 2 years ago

mathieu-mp commented 2 years ago

Describe the bug _async_handle_intent does not return status when intent expected_state is already met.

Fixes mathieu-mp/homeassistant-intex-spa#26

Proposed solution Make _async_handle_intent always return a status

mathieu-mp commented 2 years ago

Description of the identified issue Regression found: no status was returned by _async_handle_intent when getattr(self.status, intent) == expected_state