From 7ff08a9587f9478650c18a839a3ac38cea1a9eff 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 ea758f42..422bfeca 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