Revert "FIX: zigbee2mqtt /get calls require a property field specified on the message"
This reverts commit 7ff08a9587
.
This commit is contained in:
parent
7ff08a9587
commit
717ad5d88c
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ class ZigbeeMqttPlugin(MqttPlugin):
|
||||||
:return: Key->value map of the device properties.
|
:return: Key->value map of the device properties.
|
||||||
"""
|
"""
|
||||||
properties = self.publish(topic=self._topic(device + '/get'),
|
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:
|
if property:
|
||||||
assert property in properties, 'No such property: ' + property
|
assert property in properties, 'No such property: ' + property
|
||||||
|
|
Loading…
Reference in a new issue