This commit is contained in:
Franck Nijhof 2023-10-13 13:01:05 +02:00 committed by GitHub
commit 93d7ff3779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 17 additions and 8 deletions

View File

@ -95,6 +95,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
try:
return await host.api.check_new_firmware()
except (ReolinkError, asyncio.exceptions.CancelledError) as err:
task = asyncio.current_task()
if task is not None:
task.uncancel()
if starting:
_LOGGER.debug(
"Error checking Reolink firmware update at startup "

View File

@ -18,5 +18,5 @@
"documentation": "https://www.home-assistant.io/integrations/reolink",
"iot_class": "local_push",
"loggers": ["reolink_aio"],
"requirements": ["reolink-aio==0.7.10"]
"requirements": ["reolink-aio==0.7.11"]
}

View File

@ -57,6 +57,7 @@ BOOST_INCLUSIVE = "boost_inclusive"
AVAILABLE_FAN_MODES = {
"quiet",
"low",
"medium_low",
"medium",
"medium_high",
"high",

View File

@ -125,6 +125,7 @@
"auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]",
"high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]",
"medium_low": "Medium low",
"medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "Medium high",
"strong": "Strong",
@ -210,6 +211,7 @@
"auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]",
"high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]",
"medium_low": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::medium_low%]",
"medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::medium_high%]",
"strong": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::strong%]",
@ -351,6 +353,7 @@
"quiet": "Quiet",
"strong": "Strong",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]",
"medium_low": "Medium low",
"medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "Medium high",
"high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]",

View File

@ -30,6 +30,8 @@ async def async_setup_entry(
class WizSocketEntity(WizToggleEntity, SwitchEntity):
"""Representation of a WiZ socket."""
_attr_name = None
def __init__(self, wiz_data: WizData, name: str) -> None:
"""Initialize a WiZ socket."""
super().__init__(wiz_data, name)

View File

@ -7,7 +7,7 @@ from typing import Final
APPLICATION_NAME: Final = "HomeAssistant"
MAJOR_VERSION: Final = 2023
MINOR_VERSION: Final = 10
PATCH_VERSION: Final = "2"
PATCH_VERSION: Final = "3"
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 11, 0)

View File

@ -1,5 +1,5 @@
aiodiscover==1.5.1
aiohttp==3.8.6
aiohttp==3.8.5
aiohttp_cors==0.7.0
astral==2.2
async-upnp-client==0.36.1

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "homeassistant"
version = "2023.10.2"
version = "2023.10.3"
license = {text = "Apache-2.0"}
description = "Open-source home automation platform running on Python 3."
readme = "README.rst"
@ -23,7 +23,7 @@ classifiers = [
]
requires-python = ">=3.11.0"
dependencies = [
"aiohttp==3.8.6",
"aiohttp==3.8.5",
"astral==2.2",
"attrs==23.1.0",
"atomicwrites-homeassistant==1.4.1",

View File

@ -1,7 +1,7 @@
-c homeassistant/package_constraints.txt
# Home Assistant Core
aiohttp==3.8.6
aiohttp==3.8.5
astral==2.2
attrs==23.1.0
atomicwrites-homeassistant==1.4.1

View File

@ -2309,7 +2309,7 @@ renault-api==0.2.0
renson-endura-delta==1.6.0
# homeassistant.components.reolink
reolink-aio==0.7.10
reolink-aio==0.7.11
# homeassistant.components.idteck_prox
rfk101py==0.0.1

View File

@ -1720,7 +1720,7 @@ renault-api==0.2.0
renson-endura-delta==1.6.0
# homeassistant.components.reolink
reolink-aio==0.7.10
reolink-aio==0.7.11
# homeassistant.components.rflink
rflink==0.0.65