mqtt: fixes minor typo
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
parent
7c5d840c1b
commit
05af4babb9
|
@ -240,7 +240,7 @@ class MQTTClient(APITransport, Subscribable):
|
||||||
|
|
||||||
async def component_init(self) -> None:
|
async def component_init(self) -> None:
|
||||||
# We must wait for the IOLoop (asyncio event loop) to start
|
# We must wait for the IOLoop (asyncio event loop) to start
|
||||||
# prior to retreiving it
|
# prior to retrieving it
|
||||||
self.helper = AIOHelper(self.client)
|
self.helper = AIOHelper(self.client)
|
||||||
if self.user_name is not None:
|
if self.user_name is not None:
|
||||||
self.client.username_pw_set(self.user_name, self.password)
|
self.client.username_pw_set(self.user_name, self.password)
|
||||||
|
|
Loading…
Reference in New Issue