Poll state on connect
This commit is contained in:
parent
17eafdee41
commit
d5b5db07ad
@ -103,6 +103,8 @@ class PlejdMesh():
|
||||
await client.start_notify(PLEJD_LASTDATA, _lastdata)
|
||||
await client.start_notify(PLEJD_LIGHTLEVEL, _lightlevel)
|
||||
|
||||
await self.poll()
|
||||
|
||||
return True
|
||||
|
||||
async def write(self, payload):
|
||||
|
Loading…
x
Reference in New Issue
Block a user