summaryrefslogtreecommitdiff
path: root/src/sensors_mqtt_receiver.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors_mqtt_receiver.py')
-rwxr-xr-xsrc/sensors_mqtt_receiver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sensors_mqtt_receiver.py b/src/sensors_mqtt_receiver.py
index 0b4c279..9637690 100755
--- a/src/sensors_mqtt_receiver.py
+++ b/src/sensors_mqtt_receiver.py
@@ -27,6 +27,7 @@ class MQTTServer(MQTTBase):
client.subscribe('hk/#', qos=1)
def on_message(self, client: mqtt.Client, userdata, msg):
+ super().on_message(client, userdata, msg)
try:
variants = '|'.join([s.name.lower() for s in TemperatureSensorLocation])
match = re.match(rf'hk/(\d+)/si7021/({variants})', msg.topic)