Hello,
In esphome dashboard there’s a “clean mqtt” feature that won’t work properly (at least for me).
Anybody found this problem?
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 33, in <module>
sys.exit(load_entry_point('esphome', 'console_scripts', 'esphome')())
File "/opt/esphome/esphome/__main__.py", line 750, in main
return run_esphome(sys.argv)
File "/opt/esphome/esphome/__main__.py", line 737, in run_esphome
rc = POST_CONFIG_ACTIONS[args.command](args, config)
File "/opt/esphome/esphome/__main__.py", line 363, in command_clean_mqtt
return clean_mqtt(config, args)
File "/opt/esphome/esphome/__main__.py", line 264, in clean_mqtt
config, args.topic, args.username, args.password, args.client_id
File "/opt/esphome/esphome/mqtt.py", line 126, in clear_topic
discovery_prefix = config[CONF_MQTT].get(CONF_DISCOVERY_PREFIX, "homeassistant")
KeyError: 'mqtt'`