Skip to content

Commit 8bbeed5

Browse files
committed
Bump version to 0.2.2 and fix bug in serialisation of models
1 parent 10ea5a6 commit 8bbeed5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hue2mqtt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"__version__",
99
]
1010

11-
__version__ = "0.2.1"
11+
__version__ = "0.2.2"

hue2mqtt/mqtt/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def publish(
157157

158158
self._client.publish(
159159
str(topic_complete),
160-
payload.json(),
160+
payload.json(by_alias=True),
161161
qos=1,
162162
retain=retain,
163163
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hue2mqtt"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "Python Hue to MQTT Bridge"
55
authors = ["Dan Trickey <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)