Config directory: /home/homeassistant/.homeassistant
2019-09-27 06:55:30 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block mapping
in "/home/homeassistant/.homeassistant/configuration.yaml", line 2, column 1
expected <block end>, but found '-'
in "/home/homeassistant/.homeassistant/configuration.yaml", line 22, column 1
2019-09-27 06:55:30 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: while parsing a block mapping
in "/home/homeassistant/.homeassistant/configuration.yaml", line 2, column 1
expected <block end>, but found '-'
in "/home/homeassistant/.homeassistant/configuration.yaml", line 22, column 1
2019-09-27 07:33:59 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block collection
in "/home/homeassistant/.homeassistant/configuration.yaml", line 24, column 4
expected <block end>, but found '?'
in "/home/homeassistant/.homeassistant/configuration.yaml", line 25, column 4
2019-09-27 07:33:59 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: while parsing a block collection
in "/home/homeassistant/.homeassistant/configuration.yaml", line 24, column 4
expected <block end>, but found '?'
in "/home/homeassistant/.homeassistant/configuration.yaml", line 25, column 4
Is the mqtt broker working? Is the shelly working?
Have you tried to see if the shelly sends/receives message using an mqtt debug tool such as mqtt.fx (or other)?
Eventually, if something is seen in mqtt your shelly should be in your “unused entities” if you have configure lovelace but not add it there.
How it works
Open the URL and copy your yaml configuration file into the blank page and paste (of course, you can tweak your sensitive information so you don’t leak them). What this does is, fix the indentations issues and point out the exact location and by how much space you need to adjust.
To read more indepth documentations about Yaml Lint, click YamlLint!