Hi,
my config.yaml
# Wake on LAN
switch:
- platform: wake_on_lan
name: "Roon_ROCK"
mac: 1c:69:7a:a6:0b:be
turn_off:
service: shell_command.turn_off_Roon_ROCK
shell_command:
turn_off_Roon_ROCK: curl http://192.168.2.2/1/poweroff
But this is an error message I’m getting in yaml validation:
Invalid config for [shell_command]: invalid slug turn_off_Roon_ROCK (try turn_off_roon_rock) for dictionary value @ data[‘shell_command’]. Got OrderedDict([(‘turn_off_Roon_ROCK’, ‘curl http://192.168.2.2/1/poweroff’)]). (See /config/configuration.yaml, line 31).
what is my error??
thanks for help