I’m beginner in YAML.
Trying to create a switch, I wrote this in configuration.yaml
switch:
- platform: command_line
switches:
test_switch:
command_on: "/bin/echo on"
command_off: "/bin/echo off"
command_state: "/bin/echo on"
value_template: "{{ value == 'on' }}"
But in Developer Tools > States no test_switch is seen.