Skip to content

Commit

Permalink
Update hue2mqtt/mqtt/wrapper.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Trickey <trickeydan@users.noreply.github.com>
  • Loading branch information
brownjl and trickeydan committed Sep 18, 2021
1 parent 24310e9 commit 579afc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hue2mqtt/mqtt/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ async def connect(self) -> None:

if self._broker_info.enable_auth:
LOGGER.debug("MQTT Auth enabled")
self._client.set_auth_credentials(self._broker_info.username,self._broker_info.password)
self._client.set_auth_credentials(
self._broker_info.username,
self._broker_info.password,
)

await self._client.connect(
self._broker_info.host,
Expand Down

0 comments on commit 579afc8

Please sign in to comment.