|
今天来升级到最新的108,发现mqtt服务无法使用了,哪位大佬指导一下? 设备是论坛定制开关模块,模块是2018年买的,是要升级模块嘛?
2020-04-26 23:05:19 ERROR (MainThread) [homeassistant.util.logging] Exception in async_discover when dispatching 'mqtt_discovery_new_switch_mqtt': ({'name': '2fketing_AAB6DA_2', 'command_topic': 'hassmart/switch/hassmart_2key_module_AAB6DA_2/set', 'state_topic': 'hassmart/switch/hassmart_2key_module_AAB6DA_2/state', 'ip': '192.168.60.127', 'ver': '1.5', 'qos': 1, 'retain': False, 'platform': 'mqtt'},)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/switch.py", line 81, in async_discover
config = PLATFORM_SCHEMA(discovery_payload)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['ip']
2020-04-26 23:05:19 ERROR (MainThread) [homeassistant.util.logging] Exception in async_discover when dispatching 'mqtt_discovery_new_switch_mqtt': ({'name': 'hass_2f_photo_AA4CDB', 'command_topic': 'hassmart/switch/hassmart_1key_module_AA4CDB_1/set', 'state_topic': 'hassmart/switch/hassmart_1key_module_AA4CDB_1/state', 'ip': '192.168.60.102', 'ver': '1.5', 'qos': 1, 'retain': False, 'platform': 'mqtt'},)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/switch.py", line 81, in async_discover
config = PLATFORM_SCHEMA(discovery_payload)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['ip']
|
|