Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 22, 2024
1 parent 0314078 commit 511f3c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytz
requests
paho-mqtt
paho-mqtt
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytz
requests
paho-mqtt
paho-mqtt
5 changes: 4 additions & 1 deletion yoto_api/YotoAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,10 @@ def on_message(client, userdata, message):
parts = message.topic.split("/")
base, device, topic = parts
if topic == "status":
self._parse_status_message(str(message.payload.decode('utf-8')), )
self._parse_status_message(
str(message.payload.decode("utf-8")),
)

# mqtt.CallbackAPIVersion.VERSION1,
client = mqtt.Client(
client_id="DASH" + deviceId,
Expand Down

0 comments on commit 511f3c1

Please sign in to comment.