#i wrote it precisely as documentation
1 messages · Page 1 of 1 (latest)
No you didn't 😉
command_line:
- switch:
name: Kitchen Light
``` 
command_line:
- switch:
name: PC
``` 
i do not get it
Look at the two
The top one is correct - where does name line up to switch?
The bottom one isn't - where does name line up to switch?
YAML is all about indenting
Did you restart HA to load that YAML?
yes
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
man this thing is picky
Yes
To check your configuration use the command for your install method:
Always run that command when you touch YAML
i had double command_line in there i am an amateur
At least you're learning how to troubleshoot