Retrieve the name of the Home Assistant Component of denonavr

Hi,

I’d like to change the logging level of a specific integration: denonavr.

In configuration.yaml, i have to add the homeassistant.components.the_name_of_the_component.

My question is, how can i find the_name_of_the_component ?

In core.config_entries, i see the following info:

      {
        "entry_id": "71f726b44c5c4d0344c45ac051b7d5e9",
        "version": 1,
        "domain": "denonavr",
        "title": "DENONAVR2312",
        "data": {
          "host": "192.168.178.7",
          "type": "avr",
          "model": "AVR-2312",
          "manufacturer": "DENON",
          "serial_number": "0005CD259507"
        },
        "options": {
          "use_telnet": true
        },
        "pref_disable_new_entities": false,
        "pref_disable_polling": true,
        "source": "user",
        "unique_id": "AVR-2312-0005CD259507",
        "disabled_by": null
      }

What do i need to add to configuration.yaml? I guess one of the 4 lines below, but which one?

logger:
  default: warning
  logs:
    homeassistant.components.AVR-2312-0005CD259507: critical
    homeassistant.components.71f726b44c5c4d0344c45ac051b7d5e9: critical
    homeassistant.components.denonavr: critical
    homeassistant.components.DENONAVR2312: critical

edit: in homeassistant.log, i see the following line. My end-goal is to supress this warning from showing up when rebooting home assistant.

2023-05-20 11:30:39.393 WARNING (MainThread) [homeassistant.config_entries] Config entry 'DENONAVR2312' for denonavr integration not ready yet: TimeoutException: ; Retrying in background

That’s the component sending the warning.

Ok, in that case i guess i have no viable option to supress it, since i do want to see warnings from any other config_entries.

Apart from the bootup process, the denonavr is sometimes giving warnings during normal usage (reason: i disabled polling, all data that is relevant to me is coming from telnet local push). For these sporadic warnings, my original question is still relevant. It would be great to know the component name of the denon integration.

This is the warning that is now logged:

2023-05-21 00:18:48.490 WARNING (MainThread) [denonavr.soundmode] Not able to match sound mode: 'QUICK0', returning raw sound mode.

How could i supress it? I’ve now 6 flavours, but not sure which one to choose. My guess would be: the 6th one.

logger:
  default: warning
  logs:
    homeassistant.components.AVR-2312-0005CD259507: critical
    homeassistant.components.71f726b44c5c4d0344c45ac051b7d5e9: critical
    homeassistant.components.denonavr: critical
    homeassistant.components.DENONAVR2312: critical
    homeassistant.components.denonavr.soundmode: critical
    denonavr.soundmode: critical

Isn’t this what the loggers key in manifest.json refers to

In which case it is denonavr.

Thank you. I’ve solved my problem in a different way, so that the warning won’t be there in the first place. The warning happens after connecting the AVR to mains power. I now disable the denonavr integration via Spooky before disconnecting the AVR from power (by using a simple automation), and enabling the integration a while after restoring to power (power savings → eco-friendly).

Some more background: i wanted the denon avr integration to be fully local push, instead of the current behaviour in which it is doing both local push + local polling. I achieved this by a) disabling local push via the Spooky integration and b) enabling “Use telnet connection”.

The advantage of this setup is 100% local push (no pull), so less cpu utlization and less network traffic. I try to keep my system as lean as possible.