Skip to content

Commit

Permalink
Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sian-Lee-SA committed Jul 7, 2023
1 parent 84825c0 commit 54654e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/switch_manager/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ def format_mqtt_message( message: ReceiveMessage):
except ValueError as e:
data = message.payload

# Json.loads will parse int payloads so we make sure those are converted to payloads
if not isinstance(data, dict):
data = {
"payload": message.payload
"payload": data
}

data.update({
Expand Down
2 changes: 1 addition & 1 deletion custom_components/switch_manager/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"iot_class": "local_push",
"issue_tracker": "https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/issues",
"requirements": [],
"version": "1.2.1"
"version": "1.2.2"
}

0 comments on commit 54654e5

Please sign in to comment.