can anybody help me what is wrong with my switch? I try to toggle it but there is no response as if it was locked. Switch doesn’t change state and shows no errors. I’ve tried several variants with quotations and path before sshpass but without success. In HAS terminal works great.
Thank you in advance.
command_line:
- switch:
name: screenwaker
unique_id: screen_waker
command_on: "/usr/bin/sshpass -ppassword ssh [email protected] 'export DISPLAY=:0.0 ;sleep 1; xset dpms force on'"
command_off: "/usr/bin/sshpass -ppassword ssh [email protected] 'export DISPLAY=:0.0 ;sleep 1; xset dpms force off'"