Revert "FIX: zigbee2mqtt /get calls require a property field specified on the message"

This reverts commit 7ff08a9587.
This commit is contained in:
Fabio Manganiello 2021-01-22 16:13:18 +01:00
parent 7ff08a9587
commit 717ad5d88c

View file

@ -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