Hi Guys , hope some one can help.
Im sure its a config error but i just cant figure it out.
Im trying to setup a arest switch after my comand line switch’s but HA says it cant find the component switch ?
17-02-06 20:35:00 homeassistant.loader: Unable to find component -switch
I can send a Cmd to the switch with “http://192.168.1.133/digital/11/1” so the sketch is working.
my code below
switch 0:
- platform: command_line
switches:
bar_audio:
command_on: start c:\RelayBoard.exe 1 1 -simple
command_off: start c:\RelayBoard.exe 1 0 -simple
pool_audio:
command_on: start c:\RelayBoard.exe 2 1 -simple
command_off: start c:\RelayBoard.exe 2 0 -simple
bedroom_audio:
command_on: start c:\RelayBoard.exe 3 1 -simple
command_off: start c:\RelayBoard.exe 3 0 -simple
kitchen_audio:
command_on: start c:\RelayBoard.exe 4 1 -simple
command_off: start c:\RelayBoard.exe 4 0 -simple
lounge_left:
command_on: start c:\RelayBoard.exe 5 1 -simple
command_off: start c:\RelayBoard.exe 5 0 -simple
lounge_right:
command_on: start c:\RelayBoard.exe 6 1 -simple
command_off: start c:\RelayBoard.exe 6 0 -simple
fish_tank:
command_on: start c:\RelayBoard.exe 7 1 -simple
command_off: start c:\RelayBoard.exe 7 0 -simple
gatesw:
command_on: start c:\RelayBoard.exe 8 1 -simple
command_off: start c:\RelayBoard.exe 8 0 -simple
switch 1:
- platform: arest
resource: 192.168.1.133
pins:
11:
name: pump