Support cloud push with wss mqtt

This commit is contained in:
Andre Basche 2024-02-17 04:07:28 +01:00
parent a1347f7a46
commit f108005a4d
7 changed files with 102 additions and 1 deletions

View file

@ -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()