When I try to use the below code in my config and reboot HassIO, it hangs and wont load the frontend. My only way to recover seems to be to SSH back into the RPi and remove the OpenWeatherMap entry from my sensors.yaml
Because it’s a sensor so you need sensor: at the top unless you are loading it from a sensors.yaml file, hmm I see you are loading it from a sensor.yaml
C:\WINDOWS\system32>py -m homeassistant --open-ui
Config directory: C:\Users\MyPc\AppData\Roaming.homeassistant
e[31m2017-12-19 07:35:16 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here
in “C:\Users\MyPc\AppData\Roaming.homeassistant\sensors.yaml”, line 2, column 12e[0m
e[31m2017-12-19 07:35:16 ERROR (MainThread) [homeassistant.bootstrap] Error loading C:\Users\MyPc\AppData\Roaming.homeassistant\configuration.yaml: mapping values are not allowed here
in “C:\Users\MyPc\AppData\Roaming.homeassistant\sensors.yaml”, line 2, column 12e[0m
It appears to not like the api_key
The other one works but does not give so much info…
If I load the above code into my installation, HassIO wont even boot up the GUI so I cant find out what the issue is… I had to SSH in and # the code out and reboot. i don’t know where to go with this…