home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.81k stars 30.9k forks source link

Telnet integration not working #83846

Closed fresnoboy closed 1 year ago

fresnoboy commented 1 year ago

The problem

I am attempting to use the telnet integration to send a reboot command to a HDFury Vertex2 HDMI switch. I can manually telnet to it on port 2220, and can confirm the reboot command works.

I modified my configuration.yaml to add the integration, but a new switch device is not created. I used the same command for both on and off, as all I need to do is trigger the command, and don't need status from the device.

There are forum references to the telnet integration not seeming to work: https://community.home-assistant.io/t/tesira-biamp-telnet-command-help/478810, others that seem to indicate it does work as well.

What version of Home Assistant Core has the issue?

2022.11.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

telnet

Link to integration documentation on our website

https://www.home-assistant.io/integrations/telnet/

Diagnostics information

No diagnostics in logs or logbook found

Example YAML snippet

switch:
  - platform: telnet
    switches:
      familyvertex2:
        resource: 10.1.30.50
        port: 2220
        command_on: "set reboot"
        command_off: "set reboot"
        name: "Family Room Vertex"

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

telnet documentation telnet source

fresnoboy commented 1 year ago

Please close this out - this was an issue with switch definition order in the config file.