mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Bump aioipp to 0.19.3 and log IPP parse errors at warning level (#182334)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
454318469b
commit
7f991e018c
@@ -78,7 +78,7 @@ class IPPFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
_LOGGER.debug("IPP Connection/Response Error", exc_info=True)
|
||||
return self._show_setup_form({"base": "cannot_connect"})
|
||||
except IPPParseError:
|
||||
_LOGGER.debug("IPP Parse Error", exc_info=True)
|
||||
_LOGGER.warning("IPP Parse Error", exc_info=True)
|
||||
return self.async_abort(reason="parse_error")
|
||||
except IPPVersionNotSupportedError:
|
||||
return self.async_abort(reason="ipp_version_error")
|
||||
@@ -147,7 +147,7 @@ class IPPFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
_LOGGER.debug("IPP Connection/Response Error", exc_info=True)
|
||||
return self.async_abort(reason="cannot_connect")
|
||||
except IPPParseError:
|
||||
_LOGGER.debug("IPP Parse Error", exc_info=True)
|
||||
_LOGGER.warning("IPP Parse Error", exc_info=True)
|
||||
return self.async_abort(reason="parse_error")
|
||||
except IPPVersionNotSupportedError:
|
||||
return self.async_abort(reason="ipp_version_error")
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
"integration_type": "device",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["deepmerge", "pyipp"],
|
||||
"requirements": ["aioipp==0.19.0"],
|
||||
"requirements": ["aioipp==0.19.3"],
|
||||
"zeroconf": ["_ipps._tcp.local.", "_ipp._tcp.local."]
|
||||
}
|
||||
|
||||
Generated
+1
-1
@@ -318,7 +318,7 @@ aioimmich==0.17.0
|
||||
aioindiallsky==0.1.1
|
||||
|
||||
# homeassistant.components.ipp
|
||||
aioipp==0.19.0
|
||||
aioipp==0.19.3
|
||||
|
||||
# homeassistant.components.apache_kafka
|
||||
aiokafka==0.10.0
|
||||
|
||||
@@ -14,11 +14,15 @@
|
||||
}),
|
||||
'info': dict({
|
||||
'command_set': 'ESCPL2,BDC,D4,D4PX,ESCPR7,END4,GENEP,URF',
|
||||
'icons': list([
|
||||
]),
|
||||
'location': None,
|
||||
'manufacturer': 'TEST',
|
||||
'model': 'HA-1000 Series',
|
||||
'more_info': 'http://192.168.1.31:80/PRESENTATION/BONJOUR',
|
||||
'name': 'Test HA-1000 Series',
|
||||
'pages_per_minute': None,
|
||||
'pages_per_minute_color': None,
|
||||
'printer_info': 'Test HA-1000 Series',
|
||||
'printer_name': 'Test Printer',
|
||||
'printer_uri_supported': list([
|
||||
@@ -30,6 +34,8 @@
|
||||
'uuid': 'cfe92100-67c4-11d4-a45f-f8d027761251',
|
||||
'version': '20.23.06HA',
|
||||
}),
|
||||
'input_trays': list([
|
||||
]),
|
||||
'markers': list([
|
||||
dict({
|
||||
'color': '#000000',
|
||||
@@ -77,11 +83,23 @@
|
||||
'name': 'Yellow ink',
|
||||
}),
|
||||
]),
|
||||
'output_trays': list([
|
||||
]),
|
||||
'state': dict({
|
||||
'message': None,
|
||||
'printer_state': 'idle',
|
||||
'reasons': None,
|
||||
}),
|
||||
'status': dict({
|
||||
'accepting_jobs': None,
|
||||
'alerts': list([
|
||||
]),
|
||||
'media_ready': list([
|
||||
]),
|
||||
'queued_jobs': None,
|
||||
'supported': list([
|
||||
]),
|
||||
}),
|
||||
'uris': list([
|
||||
dict({
|
||||
'authentication': None,
|
||||
|
||||
Reference in New Issue
Block a user