Warning In /config/home-assistant.log.1

Hi, In my /config/home-assistant.log.1— I am seeing the following warning message.

2022-01-20 09:54:28 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

Where do I find this to disable it? Sorry for stupid question but newbie to HA. Thanks.

Thank you will do as mentioned.

Unless you are actually experiencing instability and you think it might be due to HACS you can ignore this warning. It is given by default for all third party integrations and HACS can be very useful.

Thank you. The only problem I am facing is with my Sonoff devices whereby after system (Raspi4 is idle for more than an hour when I log on again to control the switches for my lighting than it does not work. I than have to go into configuration—supervisor---- Ewelink add on and click on the red restart button than the switches all works again. This is why I am trying to locate any errors or faults but cannot find the problem.

Can I somehow suppress these warnings? I have bunch of components and if I am aware of them, its pointless to keep sending them in logs. I can disable warnings logging for entire homeassitant.loader but that would probably be unwise if there is something important other than these. This is almost an info log, not sure why is it a warning level …

1 Like

There’s no way that I know of.

I think this is a valid and reasonable take about the warnings. Surely a simple settings check-box to acknowledge that custom integrations have “not been tested by Home Assistant” should be more than enough to remove them from the log. They’re nothing but clutter.

1 Like

You can set the logging level for custom integrations to error and above only:

logger:
  default: warning
  logs:
    custom_components.hacs: error

Yeah, but that defeats the purpose if there are reasonable warnings coming from any of those components. But that’s the HA design so we can’t do anything about it. Logs like that should be debug logs, not even a warning unless it’s something that requires user attention. Maybe there will be some option in the future.