17-01-30 14:33:39 homeassistant.util.yaml: while parsing a block collection
in “/home/hass/.homeassistant/schakelaars.yaml”, line 3, column 3
expected , but found ‘’
in “/home/hass/.homeassistant/schakelaars.yaml”, line 327, column 4
HA won’t start!
First, your post is a little bit messy, please use the code tags for your entire configuration entries If not, I can’t see if your indentation is correct.
A. Please make sure you didn’t declare a switch component in a automation component.
E.g, you can’t do:
configuration.yaml:
automation: !include automation.yaml
automation.yaml:
switch:
- platform: command_line
...
B. Also make sure you use command_line and not command-line
In utter despare I use switch: in switch.yaml, I started without it, That is why I did put a few of my affords as code snippets on my post.
I use spaces for indentation, and I don’t understand why when I use command_line in my yaml, the gui says command-line cause that is what the gui message tells me.
Yes I did paste the snippet into yamllint and it came out with no errors.
I am restarting the service pasted your text into it. hopefully.
please tell me howto enter your code like you do into the grayed space with indetations correct, looks so dumb, and I already feel that way making so many newbie errors. ta
Yes it did pass, gave me a valid yaml as answer! Only HA gives me an error and that is why I did this post I am stuck and don’t know what is missing or wrong, the code is valid in the tester.
Well maybe you should split your switches further or recreate the whole config. Because somewhere in that file must be an error. Can you transfer your file to a more user-friendly editor like notepadd++ (be sure to replace tabs with spaces and set a tab to 2 spaces)
I guess there is something at fault within the command line protocol module in my HA, else I can’t explain.
I can add all kinds of protocols kaku, mqtt and others and all are already in it and working but whenever I put in only the platform name it crashes!!!???
There you’ve got me cornered, i am on 0.35.0 waiting for 37.1 to roll out.
I heard a few comments about errors people had updating so I waited it out.
And being a newbie, gave me enough headaches to get it running in the first place, gui’s not starting, missing libraries I had a few things going wrong until I used the AIO, which ran. And it runs great until … command_line…
As said when I leave out this snippet, it runs like a charm every automation, slide, protocol runs…
And even if I use a example snipped asking for let say a internal parameter, it crashes.