RF Link configuration

Hello there. I’m having some trouble adding a switch that has “on” and “off” to it to my home assistant using the RFLink integration.

I have RFLink speaking to Home Assistant but I’m not too sure how to add the switch as a device to it.

This is what I’m trying to add https://www.amazon.com/gp/product/B07S2RM95K/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1

The info I got from the switch when using rflink loader is as follows:

20;05;TriState;ID=820aa0;SWITCH=10;CMD=OFF;
20;06;AB400D;ID=4e;SWITCH=7;CMD=ON;

I checked the integration instructions to add a switch but I’m not sure what to put for protocol or channel…and since it shows two different ID’s for OFF and ON that complicates it more =\

Any help would be appreciated

Thanks!

Probably something like this (under switches in configuration.yaml, or in switch.yaml if you split up your configuration)

  - platform: rflink
    device_defaults:
      fire_event: true
      signal_repetitions: 2
    devices:
      tristate_820aa0_10:
        name: impulsb

Easiest way is to copy it from the auto-detected light.

1 Like

That did it! Thank you!