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: try:
return await host.api.check_new_firmware() return await host.api.check_new_firmware()
except (ReolinkError, asyncio.exceptions.CancelledError) as err: except (ReolinkError, asyncio.exceptions.CancelledError) as err:
task = asyncio.current_task()
if task is not None:
task.uncancel()
if starting: if starting:
_LOGGER.debug( _LOGGER.debug(
"Error checking Reolink firmware update at startup " "Error checking Reolink firmware update at startup "

View File

@ -18,5 +18,5 @@
"documentation": "https://www.home-assistant.io/integrations/reolink", "documentation": "https://www.home-assistant.io/integrations/reolink",
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["reolink_aio"], "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 = { AVAILABLE_FAN_MODES = {
"quiet", "quiet",
"low", "low",
"medium_low",
"medium", "medium",
"medium_high", "medium_high",
"high", "high",

View File

@ -125,6 +125,7 @@
"auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]", "auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]",
"high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]", "high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]", "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": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "Medium high", "medium_high": "Medium high",
"strong": "Strong", "strong": "Strong",
@ -210,6 +211,7 @@
"auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]", "auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]",
"high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]", "high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::high%]",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]", "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": "[%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%]", "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%]", "strong": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::strong%]",
@ -351,6 +353,7 @@
"quiet": "Quiet", "quiet": "Quiet",
"strong": "Strong", "strong": "Strong",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]", "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": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "Medium high", "medium_high": "Medium high",
"high": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::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): class WizSocketEntity(WizToggleEntity, SwitchEntity):
"""Representation of a WiZ socket.""" """Representation of a WiZ socket."""
_attr_name = None
def __init__(self, wiz_data: WizData, name: str) -> None: def __init__(self, wiz_data: WizData, name: str) -> None:
"""Initialize a WiZ socket.""" """Initialize a WiZ socket."""
super().__init__(wiz_data, name) super().__init__(wiz_data, name)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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