I’ve setup a new instance of Home Assistant and the MQTT tab in “Developer Tools” is missing, despite me running the “Home Assistant Add-on: Mosquitto broker” add-on and it being referenced in my config thus:
mqtt:
broker: core-mosquitto
discovery: true
discovery_prefix: homeassistant
any ideas how I can coax it into life?
Cheers
I tried to reinstall it on the integrations tab and it just churns away for ages then in the logs I can see:
Logger: aiohttp.server
Source: components/mqtt/config_flow.py:180
First occurred: 3:25:08 PM (1 occurrences)
Last logged: 3:25:08 PM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 186, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 73, in post
"show_advanced_options": data["show_advanced_options"],
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 129, in async_init
flow, flow.init_step, data, init_done
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/mqtt/config_flow.py", line 158, in async_step_init
return await self.async_step_broker()
File "/usr/src/homeassistant/homeassistant/components/mqtt/config_flow.py", line 180, in async_step_broker
fields[vol.Required(CONF_BROKER, default=current_config[CONF_BROKER])] = str
KeyError: 'broker'