ERROR (MainThread) [homeassistant.config] Invalid config for [mqtt]: expected a dictionary for dictionary value @ data[‘mqtt’]. Got ‘broker:192.168.1.113 port:1883 client_id:homeassistant username:username password:password’. (See ?, line ?)
complete error log included
Configuration Validation
Validate your configuration if you recently made some changes to your configuration and want to make sure that it is all valid.
Configuration invalid.CHECK CONFIG
Testing configuration at /home/homeassistant/.homeassistant
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up introduction
2018-01-13 08:31:57 ERROR (MainThread) [homeassistant.config] Invalid config for [mqtt]: expected a dictionary for dictionary value @ data['mqtt']. Got 'broker:192.168.1.113 port:1883 client_id:homeassistant username:username password:password'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/mqtt/
2018-01-13 08:31:57 ERROR (MainThread) [homeassistant.setup] Setup failed for mqtt: Invalid config.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up recorder
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up http
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up history
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up api
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up system_log
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up frontend
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up group
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up sensor
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up sun
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up notify
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up zone
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.1 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up config
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up logbook
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up conversation
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up switch
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up automation
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2018-01-13 08:31:57 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds.
Failed config
mqtt:
b
r
o
k
e
r
:
1
9
2
.
1
6
8
.
1
.
1
1
3
p
o
r
t
:
1
8
8
3
c
l
i
e
n
t
_
i
d
:
h
o
m
e
a
s
s
i
s
t
a
n
t
u
s
e
r
n
a
m
e
:
u
s
e
r
n
a
m
e
p
a
s
s
w
o
r
d
:
p
a
s
s
w
o
r
d
General Errors:
- Setup failed for mqtt: Invalid config.
Successful config (partial)
mqtt:
ERROR (MainThread) [homeassistant.config] Invalid config for [mqtt]: expected a dictionary for dictionary value @ data['mqtt']. Got 'broker:192.168.1.113
I put your config into my test system. Replaced the lines with the *****, I also had to remove groups and automations because you use files that I don’t have.
Then I can see the problems with your MQTT config.
you need a space between the : and the value on the config lines as already identified by @anon43302295
You also have user, which is not supported. I replaced it with username.
You also have websocket port which is not supported. I don’t know what to do with that.
But this mqtt code works in my test system (works in that it passes the config check)