diff --git a/configuration.yaml b/configuration.yaml index da2df62..61eb307 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -74,14 +74,11 @@ media_player: # Poe switch! switch: - - platform: telnet + - platform: command_line switches: lab_camera_power: - resource: 10.85.3.96 - port: 22 - command_on: "\n5\nconfig\ninterface 2 power" - command_off: "no interface 2 power" - timeout: 2 + command_on: bash /config/scripts/hpe_switch.sh 2 on + command_off: bash /config/scripts/hpe_switch.sh 2 off group: !include groups.yaml