Samsung tv power on/off/toggle


#1

1) Give a description of the problem
Samsung tv wont toggle power

2) What is the expected behavior?
One button to turn the tv on or off depending on state.

3) What is happening/not happening?
What does work is the ‘Turn off’ and ‘turn on’ commands.
I can make a piston to just turn the tv on when i press a virtual button and it works. Aslong i dont try to use the state of the tv on/off switch in an ‘if’ block. The switch of the tv shows on and off correctly in the smartthings IDE, but in webcore its not working correct as a trigger somehow.

If instead of power on/off i use the toggle command the tv will turn off but will not turn back on by toggling.

Switch 28 = Samsung Q8 series 2018.

4) Post a Green Snapshot of the pistonimage
(