FIX: zigbee2mqtt /get calls require a property field specified on the message
This commit is contained in:
parent
1777ebb051
commit
7ff08a9587
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue