From cc839620cf5b105be8ba611081d8bebd0ac30cc0 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 22 Jan 2021 00:45:52 +0100 Subject: [PATCH] FIX: zigbee2mqtt /get calls require a property field specified on the message --- platypush/plugins/zigbee/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/zigbee/mqtt.py b/platypush/plugins/zigbee/mqtt.py index ea758f42ed..422bfeca67 100644 --- a/platypush/plugins/zigbee/mqtt.py +++ b/platypush/plugins/zigbee/mqtt.py @@ -334,7 +334,7 @@ class ZigbeeMqttPlugin(MqttPlugin): :return: Key->value map of the device properties. """ properties = self.publish(topic=self._topic(device + '/get'), - reply_topic=self._topic(device), msg='', **self._mqtt_args(**kwargs)).output + reply_topic=self._topic(device), msg={'property': ''}, **self._mqtt_args(**kwargs)).output if property: assert property in properties, 'No such property: ' + property