cnk700i / havcs

Home Assistant Voice Control Skill
https://ljr.im/articles/plugins-havcs-edible-instructions/
Apache License 2.0
311 stars 97 forks source link

TypeError: __init__() got an unexpected keyword argument 'broker' #32

Closed LaughingLeeLife closed 4 years ago

LaughingLeeLife commented 4 years ago

升级了HA 和 HAVCS V3.发现有error,请大神帮忙看下。谢谢。 Home Assistant 0.113.2

Log Details (ERROR) Logger: homeassistant.config_entries Source: custom_components/havcs/init.py:372 First occurred: 10:23:49 PM (1 occurrences) Last logged: 10:23:49 PM

Error setting up entry configuration.yaml for havcs Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 219, in async_setup result = await component.async_setup_entry( # type: ignore File "/config/custom_components/havcs/init.py", line 372, in async_setup_entry hass.data[DOMAIN][DATA_HAVCS_MQTT] = mqtt.MQTT( TypeError: init() got an unexpected keyword argument 'broker'

cnk700i commented 4 years ago

新版本函数方法有调整,近期会更新。