home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.82k stars 28.94k forks source link

Cannot ignore a discovery integration ( IPP ) on 0.110 #35843

Closed Gunth closed 4 years ago

Gunth commented 4 years ago

The problem

It has been announced that all the discovery integrations could be ignored with the new release 0.110 but the integration Internet Printing Protocol (IPP) remain unable to be ignored

Environment

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

image No button "ignore" is available

probot-home-assistant[bot] commented 4 years ago

ipp documentation ipp source (message by IssueLinks)

probot-home-assistant[bot] commented 4 years ago

Hey there @ctalkington, mind taking a look at this issue as its been labeled with a integration (ipp) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

ctalkington commented 4 years ago

@Gunth could you enable the following logs and restart HA. I thought we had caught the possible missing identifiers but that log info will help pin down.

logger:
  default: info
  logs:
    homeassistant.components.zeroconf: debug
    homeassistant.components.ipp: debug
Gunth commented 4 years ago

here is what i have for those logs :

2020-05-21 10:59:33 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2020-05-21 10:59:34 INFO (MainThread) [homeassistant.setup] Setting up ipp
2020-05-21 10:59:34 INFO (MainThread) [homeassistant.setup] Setup of domain ipp took 0.0 seconds.
2020-05-21 10:59:40 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-05-21 10:59:40 DEBUG (MainThread) [homeassistant.components.ipp] Finished fetching ipp data in 5.116 seconds
2020-05-21 10:59:40 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 5 seconds.
2020-05-21 10:59:40 DEBUG (zeroconf-ServiceBrowser__ipp._tcp.local.) [homeassistant.components.zeroconf] Discovered new device GunthPrinter @ Gunth-DSM._ipp._tcp.local. {'host': '192.168.0.10', 'port': 631, 'hostname': 'Gunth-DSM.local.', 'type': '_ipp._tcp.local.', 'name': 'GunthPrinter @ Gunth-DSM._ipp._tcp.local.', 'properties': {'_raw': {'adminurl': b'http://Gunth-DSM:631/printers/GunthPrinter', 'txtvers': b'1', 'qtotal': b'1', 'ty': b'Brother MFC-9340CDW', 'note': b'Gunth-DSM', 'product': b'(Brother MFC-9500 - CUPS+Gutenprint v5.2.10)', 'pdl': b'application/octet-stream,application/pdf,image/urf,image/jpeg', 'URF': b'W8,SRGB24,DM1,CP255,RS600-300', 'UUID': b'', 'rp': b'printers/GunthPrinter'}, 'adminurl': 'http://Gunth-DSM:631/printers/GunthPrinter', 'txtvers': '1', 'qtotal': '1', 'ty': 'Brother MFC-9340CDW', 'note': 'Gunth-DSM', 'product': '(Brother MFC-9500 - CUPS+Gutenprint v5.2.10)', 'pdl': 'application/octet-stream,application/pdf,image/urf,image/jpeg', 'URF': 'W8,SRGB24,DM1,CP255,RS600-300', 'UUID': '', 'rp': 'printers/GunthPrinter'}}
2020-05-21 11:00:30 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-05-21 11:00:31 DEBUG (MainThread) [homeassistant.components.ipp] Finished fetching ipp data in 4.413 seconds
2020-05-21 11:00:31 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 10 seconds.
2020-05-21 11:00:45 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-05-21 11:00:45 DEBUG (MainThread) [homeassistant.components.ipp] Finished fetching ipp data in 3.123 seconds
2020-05-21 11:00:45 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 20 seconds.
2020-05-21 11:01:09 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-05-21 11:01:09 DEBUG (MainThread) [homeassistant.components.ipp] Finished fetching ipp data in 3.128 seconds
2020-05-21 11:01:09 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 40 seconds.
2020-05-21 11:01:53 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-05-21 11:01:53 DEBUG (MainThread) [homeassistant.components.ipp] Finished fetching ipp data in 3.121 seconds
2020-05-21 11:01:53 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 80 seconds.
2020-05-21 11:03:17 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-05-21 11:03:17 DEBUG (MainThread) [homeassistant.components.ipp] Finished fetching ipp data in 3.120 seconds
2020-05-21 11:03:17 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 80 seconds.
ctalkington commented 4 years ago

ah empty UUID that explains it. need to add extra catch for that.