From b47fb68214bdbf89b6f081a6808836ebc929f2bc Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Wed, 13 Mar 2024 17:50:29 +0100 Subject: [PATCH] Bump `brother` library to version `4.0.2` (#113235) Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com> --- homeassistant/components/brother/__init__.py | 2 +- homeassistant/components/brother/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/brother/__init__.py b/homeassistant/components/brother/__init__.py index d52c7587742..0bd49ed5d7a 100644 --- a/homeassistant/components/brother/__init__.py +++ b/homeassistant/components/brother/__init__.py @@ -34,7 +34,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: brother = await Brother.create( host, printer_type=printer_type, snmp_engine=snmp_engine ) - except (ConnectionError, SnmpError) as error: + except (ConnectionError, SnmpError, TimeoutError) as error: raise ConfigEntryNotReady from error coordinator = BrotherDataUpdateCoordinator(hass, brother) diff --git a/homeassistant/components/brother/manifest.json b/homeassistant/components/brother/manifest.json index 26317b39ab5..9ca18a95a1e 100644 --- a/homeassistant/components/brother/manifest.json +++ b/homeassistant/components/brother/manifest.json @@ -8,7 +8,7 @@ "iot_class": "local_polling", "loggers": ["brother", "pyasn1", "pysmi", "pysnmp"], "quality_scale": "platinum", - "requirements": ["brother==4.0.0"], + "requirements": ["brother==4.0.2"], "zeroconf": [ { "type": "_printer._tcp.local.", diff --git a/requirements_all.txt b/requirements_all.txt index 8d51e3f0ab8..d4926f8a691 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -606,7 +606,7 @@ bring-api==0.5.6 broadlink==0.18.3 # homeassistant.components.brother -brother==4.0.0 +brother==4.0.2 # homeassistant.components.brottsplatskartan brottsplatskartan==1.0.5 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 0d39a14550d..fc383161299 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -517,7 +517,7 @@ bring-api==0.5.6 broadlink==0.18.3 # homeassistant.components.brother -brother==4.0.0 +brother==4.0.2 # homeassistant.components.brottsplatskartan brottsplatskartan==1.0.5