Sytem bridge is installed and the desktop hibernates when the action is executed trough developer tools.
When trying to turn off the switch it doesn't en gives me the following error:
Action switch/turn_off could not be executed. Script requires 'response_variable' for response data for service call system_bridge.power_command
This is my config for WoL:
- platform: wake_on_lan
mac: !secret desktop_mac
host: !secret desktop_ip
name: Desktop
turn_off:
action: system_bridge.power_command
data:
bridge: !secret bridge_token
command: hibernate