yi-hack_ha_integration
yi-hack_ha_integration copied to clipboard
Failed to setup integration: KeyError: 'TOPIC_BIRTH_WILL'
After adding the plugin and setting it up, HASS is showing "Failed to setup" and logs are showing the error below. MQTT is configured on both HASS and camera.
Logger: homeassistant.config_entries Source: custom_components/yi_hack/init.py:48 Integration: Yi Cam with yi-hack (documentation, issues)
Error setting up entry yi_hack_7b4bd0 for yi_hack Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File "/config/custom_components/yi_hack/init.py", line 48, in async_setup_entry CONF_TOPIC_STATUS: mqtt[CONF_TOPIC_STATUS], KeyError: 'TOPIC_BIRTH_WILL'
Which cam are you using? Could you share your mqtt configuration (cam side)?
I'm using the YI cam, with MStar firmware.
Details are here:
Based on the web interface, your fw is very old. Try to update it to the latest version.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.