diff --git a/pyrinnaitouch/system.py b/pyrinnaitouch/system.py index c635c56..c31cdc8 100644 --- a/pyrinnaitouch/system.py +++ b/pyrinnaitouch/system.py @@ -108,8 +108,8 @@ def poll_loop(self) -> None: self._connection.shutdown() break if ( - isinstance(new_status_json, list) - and "SYST" in new_status_json[0] + isinstance(new_status_json, list) + and "SYST" in new_status_json[0] and "STM" in new_status_json[0]["SYST"] ): self._status.set_timesetting(True)