summaryrefslogtreecommitdiff
path: root/include/py/homekit/mqtt
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-20 02:33:21 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-20 02:33:21 +0300
commitca56e663675edd288d79616607e42e68ba2cde01 (patch)
tree653ca00923dd2e8b612d0913808dc3b88dada68e /include/py/homekit/mqtt
parent03440a282cc4f130e36995da7bf2e3b34e8b4193 (diff)
mqtt: fix temphum payload class
Diffstat (limited to 'include/py/homekit/mqtt')
-rw-r--r--include/py/homekit/mqtt/module/temphum.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/py/homekit/mqtt/module/temphum.py b/include/py/homekit/mqtt/module/temphum.py
index 6deccfe..7220f48 100644
--- a/include/py/homekit/mqtt/module/temphum.py
+++ b/include/py/homekit/mqtt/module/temphum.py
@@ -23,6 +23,8 @@ class MqttTemphumLegacyDataPayload(MqttPayload):
class MqttTemphumDataPayload(MqttTemphumLegacyDataPayload):
FORMAT = '=ddb'
+ temp: float
+ rh: float
error: int