mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-19 20:36:58 +02:00
Support cloud push with wss mqtt
This commit is contained in:
@@ -120,6 +120,7 @@ class Hon:
|
||||
api = TestAPI(test_data)
|
||||
for appliance in await api.load_appliances():
|
||||
await self._create_appliance(appliance, api)
|
||||
await self.api.subscribe_mqtt(self.appliances)
|
||||
|
||||
async def close(self) -> None:
|
||||
await self.api.close()
|
||||
|
||||
Reference in New Issue
Block a user