『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3736|回复: 0

[基础教程] 论坛改装模块求助

[复制链接]

20

主题

123

帖子

1364

积分

金牌会员

Rank: 6Rank: 6

积分
1364
金钱
1241
HASS币
0
发表于 2020-10-2 07:55:15 | 显示全部楼层 |阅读模式
ha升级到0.115.6以后,改装模块无法添加,亲大神帮忙解决。
日志如下:
Logger: homeassistant.util.logging
Source: util/logging.py:108
First occurred: 上午7:35:10 (2 occurrences)
Last logged: 上午7:35:10
* Exception in async_discover when dispatching 'mqtt_discovery_new_switch_mqtt': ({'name': 'desklight_AA6D66_1, 'command_topic': 'hassmart/switch/hassmart_2key_module_AA6D66_1/set', 'state_topic': 'hassmart/switch/hassmart_2key_module_AA6D66_1/state', 'ip': '192.168.0.209', 'ver': '1.5', 'qos': 1, 'retain': False, 'platform': 'mqtt'},) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/switch.py", line 86, in async_discover config = PLATFORM_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']
* Exception in async_discover when dispatching 'mqtt_discovery_new_switch_mqtt': ({'name': 'desklight_AA6D66_2', 'command_topic': 'hassmart/switch/hassmart_2key_module_AA6D66_2/set', 'state_topic': 'hassmart/switch/hassmart_2key_module_AA6D66_2/state', 'ip': '192.168.0.209', 'ver': '1.5', 'qos': 1, 'retain': False, 'platform': 'mqtt'},) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/switch.py", line 86, in async_discover config = PLATFORM_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']
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 12:52 , Processed in 0.396221 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表