你好,什么时候能修复一下自动发现,或者干脆彻底去除这个功能,每次报错信息膈应
2021-06-08 19:33:44 ERROR (MainThread) [homeassistant.util.logging] Exception in async_discover when dispatching 'mqtt_discovery_new_switch_mqtt': ({'name': 'hassmart_8E620D_1', 'command_topic': 'hassmart/switch/hassmart_2key_module_8E620D_1/set', 'state_topic': 'hassmart/switch/hassmart_2key_module_8E620D_1/state', 'ip': '192.168.20.220', 'ver': '1.5', 'qos': 1, 'retain': False, 'platform': 'mqtt'},)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py", line 160, in async_discover
config = schema(discovery_payload)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['ip']
|