petretiandrea / home-assistant-tapo-p100

A custom integration to control Tapo devices from home assistant.
MIT License
818 stars 102 forks source link

HA log spammed by Found device model / but type not supported #797

Closed iceymanz closed 2 weeks ago

iceymanz commented 2 months ago

The addon in what I'm assuming is it's routine, background scanning the network for new devices. Repeats an info level log every 10 minutes saying it found devices that it doesn't support. Log spam that is unactionable is undesirable.

Here are some examples of the errors:

INFO (MainThread) [custom_components.tapo.config_flow] Found device model: c200, but type not supported SMART.IPCAMERA INFO (MainThread) [custom_components.tapo.config_flow] Found device model: c210, but type not supported SMART.IPCAMERA

May I suggest the following potential options:

  1. Move these to a debug or other level of logging, background scan results that aren't errors shouldn't be info level.
  2. Have an to stop sweeping the network for new devices automatically - allow purely manual device configuration
  3. Create an ignore list of devices - this might also be useful for people who also use other addons with overlapping functionality for the tapo/kasa ecosystem. Due to DHCP, ignoring by some ID other an IP would be preferable

Thank you.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.