mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-04 20:42:09 +00:00
Fix mqtt
This commit is contained in:
parent
9bb7222563
commit
e6d1e98e37
|
@ -122,7 +122,7 @@ class Hon:
|
||||||
if not self._mqtt_client:
|
if not self._mqtt_client:
|
||||||
self._mqtt_client = await MQTTClient(self, self._mobile_id).create()
|
self._mqtt_client = await MQTTClient(self, self._mobile_id).create()
|
||||||
|
|
||||||
def subscribe_updates(self, notify_function: Callable[[Any], None]) -> None:
|
def subscribe_updates(self, notify_function: Callable[[], None]) -> None:
|
||||||
self._notify_function = notify_function
|
self._notify_function = notify_function
|
||||||
|
|
||||||
def notify(self) -> None:
|
def notify(self) -> None:
|
||||||
|
|
Loading…
Reference in a new issue