Tellstick Duo switch syntax

Hi,

I want to connect a Tellstick Duo to my hassio raspi, but I’m not sure how to configure hassio to operate a switch for example.

In my configuration.yaml I have the following…

tellstick:
  host: core-tellstick
  port: [50800, 50801]

# SWITCHES
switch:
  - platform: tellstick

I also have a config file (tellstick.conf) in the hassio\config directory with the following contents…

  "devices": [
    {
      "id": 1,
      "name": "Example device",
      "protocol": "arctech",
      "model": "codeswitch",
      "house": "C",
      "unit": "3"
    }
  ]
}

I have no idea if I’m on the right track here or not. It obviously doesn’t work since I cannot find an entity related to tellstick so something must be wrong.

Is there someone that can point me in the right direction please.

Ok, I’ve figured it out. Just a misunderstanding of the docs. Sorry… :flushed: