From 4c166c2320ecf281b7668c9a358b4ac9acb4afa2 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Tue, 26 Aug 2025 12:11:33 +0200 Subject: [PATCH] Bump reolink-aio to 0.14.7 (#151045) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- homeassistant/components/reolink/entity.py | 1 + homeassistant/components/reolink/manifest.json | 2 +- homeassistant/components/reolink/number.py | 2 ++ homeassistant/components/reolink/select.py | 1 + homeassistant/components/reolink/switch.py | 1 + requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 7 files changed, 8 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/reolink/entity.py b/homeassistant/components/reolink/entity.py index 971b7ec4be1..7d290dc6f0a 100644 --- a/homeassistant/components/reolink/entity.py +++ b/homeassistant/components/reolink/entity.py @@ -253,6 +253,7 @@ class ReolinkChimeCoordinatorEntity(ReolinkChannelCoordinatorEntity): coordinator: DataUpdateCoordinator[None] | None = None, ) -> None: """Initialize ReolinkChimeCoordinatorEntity for a chime.""" + assert chime.channel is not None super().__init__(reolink_data, chime.channel, coordinator) self._chime = chime diff --git a/homeassistant/components/reolink/manifest.json b/homeassistant/components/reolink/manifest.json index 4ad80dda807..754ed780cee 100644 --- a/homeassistant/components/reolink/manifest.json +++ b/homeassistant/components/reolink/manifest.json @@ -19,5 +19,5 @@ "iot_class": "local_push", "loggers": ["reolink_aio"], "quality_scale": "platinum", - "requirements": ["reolink-aio==0.14.6"] + "requirements": ["reolink-aio==0.14.7"] } diff --git a/homeassistant/components/reolink/number.py b/homeassistant/components/reolink/number.py index da879194e88..8f39fcd4880 100644 --- a/homeassistant/components/reolink/number.py +++ b/homeassistant/components/reolink/number.py @@ -816,6 +816,8 @@ async def async_setup_entry( ReolinkChimeNumberEntity(reolink_data, chime, entity_description) for entity_description in CHIME_NUMBER_ENTITIES for chime in api.chime_list + for chime in api.chime_list + if chime.channel is not None ) async_add_entities(entities) diff --git a/homeassistant/components/reolink/select.py b/homeassistant/components/reolink/select.py index 242ea784cd9..35ed3dbb70e 100644 --- a/homeassistant/components/reolink/select.py +++ b/homeassistant/components/reolink/select.py @@ -381,6 +381,7 @@ async def async_setup_entry( for entity_description in CHIME_SELECT_ENTITIES for chime in reolink_data.host.api.chime_list if entity_description.supported(chime) + if entity_description.supported(chime) and chime.channel is not None ) async_add_entities(entities) diff --git a/homeassistant/components/reolink/switch.py b/homeassistant/components/reolink/switch.py index 00934bc9777..bf18be7b837 100644 --- a/homeassistant/components/reolink/switch.py +++ b/homeassistant/components/reolink/switch.py @@ -381,6 +381,7 @@ async def async_setup_entry( ReolinkChimeSwitchEntity(reolink_data, chime, entity_description) for entity_description in CHIME_SWITCH_ENTITIES for chime in reolink_data.host.api.chime_list + if chime.channel is not None ) # Can be removed in HA 2025.4.0 diff --git a/requirements_all.txt b/requirements_all.txt index 222d20428af..45234daef05 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2661,7 +2661,7 @@ renault-api==0.4.0 renson-endura-delta==1.7.2 # homeassistant.components.reolink -reolink-aio==0.14.6 +reolink-aio==0.14.7 # homeassistant.components.idteck_prox rfk101py==0.0.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index b66a26ca42b..cc3a899bd12 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2207,7 +2207,7 @@ renault-api==0.4.0 renson-endura-delta==1.7.2 # homeassistant.components.reolink -reolink-aio==0.14.6 +reolink-aio==0.14.7 # homeassistant.components.rflink rflink==0.0.67