forked from HomeAssistant/ha_xiaomi_home
fix: fix miot cloud and mdns error (#637)
* fix: fix miot cloud state error * style: code format
This commit is contained in:
@@ -106,7 +106,7 @@ class MIoTOauthClient:
|
||||
|
||||
@property
|
||||
def state(self) -> str:
|
||||
return self.state
|
||||
return self._state
|
||||
|
||||
async def deinit_async(self) -> None:
|
||||
if self._session and not self._session.closed:
|
||||
|
||||
Reference in New Issue
Block a user