From 717ad5d88c6fd8afbe5c9e3d5577949b59ee724f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 22 Jan 2021 16:13:18 +0100 Subject: [PATCH] Revert "FIX: zigbee2mqtt /get calls require a property field specified on the message" This reverts commit 7ff08a9587f9478650c18a839a3ac38cea1a9eff. --- 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 422bfeca..ea758f42 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={'property': ''}, **self._mqtt_args(**kwargs)).output + reply_topic=self._topic(device), msg='', **self._mqtt_args(**kwargs)).output if property: assert property in properties, 'No such property: ' + property