My set up works perfectly on the previous version 0.27
After upgrade to 0.28, my command line switches stopped working and the error message below appears
16-09-12 13:16:19 homeassistant.bootstrap: Invalid config for [switch.command_line]: [Debuan_Server] is an invalid option for [switch.command_line]. Check: switch.command_line->switches->Debuan_Server
Here’s the switch config
- platform: command_line
switches:
Debuan_Server:
command_on: "wakeonlan E8:39:35:2D:E8:FD"
command_off: "ssh [email protected] poweroff"
Plex_Server:
command_on: "ssh [email protected] service plexmediaserver start"
command_off: "ssh [email protected] service plexmediaserver stop"
Transmission:
command_on: "sudo service transmission-daemon start"
command_off: "sudo service transmission-daemon stop"
I just tried (without the optional value template) no difference unfortunately
16-09-12 14:06:16 homeassistant.bootstrap: Invalid config for [switch.command_line]: [Debuan] is an invalid option for [switch.command_line]. Check: switch.command_line->switches->Debuan.
I had the same problem and was told today in the chat that HASS used to covert all switch identifiers to lowercase letters but no longer does so in 0.28. Uppercase letters in those identifiers will cause errors from now on.