How to configure logger?

I have tried

logger:
  default: error
  logs:
    homeassistant.components.light.rflink: debug
    homeassistant.components.sensor.rflink: debug
    homeassistant.components.rflink.light: debug
    homeassistant.components.rflink.switch: debug
    rflink: debug
    rflink.light: debug
    rflink.switch: debug

Still nothing useful in the logs

Assuming rflink is an integration (core or 3rd party) this should be it:

logger:
  default: error
  logs:
    homeassistant.components.rflink: debug

it is a core, but not maintained, integration

Then if it supports debug logging the config I posted should work.

That’s my usual config for debug:

# Logger
logger:
  logs:
    # rflink: debug
    # homeassistant.components.rflink: debug
    # custom_components.rflink: debug
    # custom_components.rflink.cover: debug

BTW rflink: debug is just for the library, not the integration.

IIRC components (light, cover,…) don’t have many logs messages.

1 Like

I see in the log the data is received

2025-10-09 17:27:17.695 DEBUG (MainThread) [rflink.protocol] received data: 20;19;NewKaku;ID=03a0b800;SWITCH
2025-10-09 17:27:17.698 DEBUG (MainThread) [rflink.protocol] received data: =2;CMD=ON;
2025-10-09 17:27:17.699 DEBUG (MainThread) [rflink.protocol] got packet: 20;19;NewKaku;ID=03a0b800;SWITCH=2;CMD=ON;
2025-10-09 17:27:17.699 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'newkaku', 'id': '03a0b800', 'switch': '2', 'command': 'on'}
2025-10-09 17:27:17.700 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'newkaku_03a0b800_2', 'command': 'on'}
2025-10-09 17:27:20.032 DEBUG (MainThread) [rflink.protocol] received data: 20;1A;NewKaku;ID=03a0b800;SWITCH
2025-10-09 17:27:20.036 DEBUG (MainThread) [rflink.protocol] received data: =3;CMD=ON;
2025-10-09 17:27:20.037 DEBUG (MainThread) [rflink.protocol] got packet: 20;1A;NewKaku;ID=03a0b800;SWITCH=3;CMD=ON;
2025-10-09 17:27:20.037 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'newkaku', 'id': '03a0b800', 'switch': '3', 'command': 'on'}
2025-10-09 17:27:20.038 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'newkaku_03a0b800_3', 'command': 'on'}
2025-10-09 17:27:21.585 DEBUG (MainThread) [rflink.protocol] received data: 20;1B;NewKaku;ID=03a0b800;SWITCH
2025-10-09 17:27:21.589 DEBUG (MainThread) [rflink.protocol] received data: =2;CMD=ON;
2025-10-09 17:27:21.590 DEBUG (MainThread) [rflink.protocol] got packet: 20;1B;NewKaku;ID=03a0b800;SWITCH=2;CMD=ON;
2025-10-09 17:27:21.590 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'newkaku', 'id': '03a0b800', 'switch': '2', 'command': 'on'}
2025-10-09 17:27:21.590 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'newkaku_03a0b800_2', 'command': 'on'}
2025-10-09 17:27:23.210 DEBUG (MainThread) [rflink.protocol] received data: 20;1C;NewKaku;ID=03a0b800;SWITCH
2025-10-09 17:27:23.214 DEBUG (MainThread) [rflink.protocol] received data: =3;CMD=ON;
2025-10-09 17:27:23.215 DEBUG (MainThread) [rflink.protocol] got packet: 20;1C;NewKaku;ID=03a0b800;SWITCH=3;CMD=ON;
2025-10-09 17:27:23.215 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'newkaku', 'id': '03a0b800', 'switch': '3', 'command': 'on'}
2025-10-09 17:27:23.216 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'newkaku_03a0b800_3', 'command': 'on'}

but the entity is no longer created

  - platform: rflink
    device_defaults:
      fire_event: true
      signal_repetitions: 3
    devices:
      newkaku_03a0b800_3:
        name: boventapo
      newkaku_03a0b800_2:
        name: bovenTV

don’t know since when, but the logs are not very useful. They show what is received, but nothing about the entities.