Chacon outlet RFLINK

Hi everybody,

First of all, i want to wish you an happy New Years 21, and i hope everything gonna be GREAT for every projet you have this years.

I’m new user with HA.

I have chacon outlet and rflink, but i dont understant how to configure it in configuration.yalm.

This is my configuration.yalm

rflink:
  port: /dev/ttyUSB0
  wait_for_ack: false

  
logger:
  default: error
  logs:
    rflink: debug
    homeassistant.components.rflink: debug
    
switch:
-platform: rflink
devices:
unitec_88c0_03:
name: Switch01

I dont understant what i did wrong…

I search on https://www.home-assistant.io/ in many articles but i dont know how to configure it

thanks for your help.

and all my apologize for my english ^^

Your indentation is off

rflink:
  port: /dev/ttyUSB0
  wait_for_ack: false

  
logger:
  default: error
  logs:
    rflink: debug
    homeassistant.components.rflink: debug
    
switch:
  - platform: rflink
    devices:
      unitec_88c0_03:
        name: Switch01

Thank you very much.

i have tried with the indention but, i think i dont do it well ^^

It’s OK for me, it’s working right now.