Hi.
The noob need help =)
i am using a command line switch.
i want the switch to get the right state.
switch:
platform: command_line
switches:
Zon2:
oncmd: onkyo zone2.power=on
offcmd: onkyo zone2.power=standby
statecmd: onkyo zone2.power=query
value_template: ---i dont know what i need here.---
statecmd: onkyo zone2.power=query
This command till give me:
<eISCP(TX-NR626) 192.168.1.10:60128>: ZPWQSTN ('power', 'on')
or
<eISCP(TX-NR626) 192.168.1.10:60128>: ZPWQSTN ('power', 'standby')
how can i get the switch to get the actual state?