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

Raise a proper exception if _raw_status is not set when IntexSpaStatus properties are read #8

Closed mathieu-mp closed 2 years ago

mathieu-mp commented 2 years ago

Raise a proper exception if _raw_status is not set or empty when IntexSpaStatus properties are read

@Elkropac original post: I was trying to figure out, what is returned in status, when you cannot connect to SPA and if it needs to be handled in some update method instead of blindly updating status of coordinator data

Originally posted by @Elkropac in https://github.com/mathieu-mp/homeassistant-intex-spa/issues/10#issuecomment-1160687376