This commit is contained in:
Franck Nijhof 2024-01-20 19:58:13 +01:00 committed by GitHub
commit 0f3fb2eb85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 24 additions and 13 deletions

View File

@ -8,7 +8,7 @@
"documentation": "https://www.home-assistant.io/integrations/dlna_dmr", "documentation": "https://www.home-assistant.io/integrations/dlna_dmr",
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["async_upnp_client"], "loggers": ["async_upnp_client"],
"requirements": ["async-upnp-client==0.38.0", "getmac==0.9.4"], "requirements": ["async-upnp-client==0.38.1", "getmac==0.9.4"],
"ssdp": [ "ssdp": [
{ {
"deviceType": "urn:schemas-upnp-org:device:MediaRenderer:1", "deviceType": "urn:schemas-upnp-org:device:MediaRenderer:1",

View File

@ -8,7 +8,7 @@
"documentation": "https://www.home-assistant.io/integrations/dlna_dms", "documentation": "https://www.home-assistant.io/integrations/dlna_dms",
"iot_class": "local_polling", "iot_class": "local_polling",
"quality_scale": "platinum", "quality_scale": "platinum",
"requirements": ["async-upnp-client==0.38.0"], "requirements": ["async-upnp-client==0.38.1"],
"ssdp": [ "ssdp": [
{ {
"deviceType": "urn:schemas-upnp-org:device:MediaServer:1", "deviceType": "urn:schemas-upnp-org:device:MediaServer:1",

View File

@ -39,7 +39,7 @@
"samsungctl[websocket]==0.7.1", "samsungctl[websocket]==0.7.1",
"samsungtvws[async,encrypted]==2.6.0", "samsungtvws[async,encrypted]==2.6.0",
"wakeonlan==2.1.0", "wakeonlan==2.1.0",
"async-upnp-client==0.38.0" "async-upnp-client==0.38.1"
], ],
"ssdp": [ "ssdp": [
{ {

View File

@ -9,5 +9,5 @@
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["async_upnp_client"], "loggers": ["async_upnp_client"],
"quality_scale": "internal", "quality_scale": "internal",
"requirements": ["async-upnp-client==0.38.0"] "requirements": ["async-upnp-client==0.38.1"]
} }

View File

@ -8,7 +8,7 @@
"integration_type": "device", "integration_type": "device",
"iot_class": "local_polling", "iot_class": "local_polling",
"loggers": ["async_upnp_client"], "loggers": ["async_upnp_client"],
"requirements": ["async-upnp-client==0.38.0", "getmac==0.9.4"], "requirements": ["async-upnp-client==0.38.1", "getmac==0.9.4"],
"ssdp": [ "ssdp": [
{ {
"st": "urn:schemas-upnp-org:device:InternetGatewayDevice:1" "st": "urn:schemas-upnp-org:device:InternetGatewayDevice:1"

View File

@ -17,7 +17,7 @@
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["async_upnp_client", "yeelight"], "loggers": ["async_upnp_client", "yeelight"],
"quality_scale": "platinum", "quality_scale": "platinum",
"requirements": ["yeelight==0.7.14", "async-upnp-client==0.38.0"], "requirements": ["yeelight==0.7.14", "async-upnp-client==0.38.1"],
"zeroconf": [ "zeroconf": [
{ {
"type": "_miio._udp.local.", "type": "_miio._udp.local.",

View File

@ -16,7 +16,7 @@ from .helpers.deprecation import (
APPLICATION_NAME: Final = "HomeAssistant" APPLICATION_NAME: Final = "HomeAssistant"
MAJOR_VERSION: Final = 2024 MAJOR_VERSION: Final = 2024
MINOR_VERSION: Final = 1 MINOR_VERSION: Final = 1
PATCH_VERSION: Final = "4" PATCH_VERSION: Final = "5"
__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

@ -6,7 +6,7 @@ aiohttp-zlib-ng==0.1.3
aiohttp==3.9.1 aiohttp==3.9.1
aiohttp_cors==0.7.0 aiohttp_cors==0.7.0
astral==2.2 astral==2.2
async-upnp-client==0.38.0 async-upnp-client==0.38.1
atomicwrites-homeassistant==1.4.1 atomicwrites-homeassistant==1.4.1
attrs==23.1.0 attrs==23.1.0
awesomeversion==23.11.0 awesomeversion==23.11.0
@ -189,3 +189,6 @@ lxml==4.9.4
# dacite: Ensure we have a version that is able to handle type unions for # dacite: Ensure we have a version that is able to handle type unions for
# Roborock, NAM, Brother, and GIOS. # Roborock, NAM, Brother, and GIOS.
dacite>=1.7.0 dacite>=1.7.0
# Musle wheels for pandas 2.2.0 cannot be build for any architecture.
pandas==2.1.4

View File

@ -355,7 +355,12 @@ def _include_dir_named_yaml(loader: LoaderType, node: yaml.nodes.Node) -> NodeDi
filename = os.path.splitext(os.path.basename(fname))[0] filename = os.path.splitext(os.path.basename(fname))[0]
if os.path.basename(fname) == SECRET_YAML: if os.path.basename(fname) == SECRET_YAML:
continue continue
mapping[filename] = load_yaml(fname, loader.secrets) loaded_yaml = load_yaml(fname, loader.secrets)
if loaded_yaml is None:
# Special case, an empty file included by !include_dir_named is treated
# as an empty dictionary
loaded_yaml = NodeDictClass()
mapping[filename] = loaded_yaml
return _add_reference(mapping, loader, node) return _add_reference(mapping, loader, node)

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "homeassistant" name = "homeassistant"
version = "2024.1.4" version = "2024.1.5"
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"

View File

@ -469,7 +469,7 @@ asterisk_mbox==0.5.0
# homeassistant.components.ssdp # homeassistant.components.ssdp
# homeassistant.components.upnp # homeassistant.components.upnp
# homeassistant.components.yeelight # homeassistant.components.yeelight
async-upnp-client==0.38.0 async-upnp-client==0.38.1
# homeassistant.components.keyboard_remote # homeassistant.components.keyboard_remote
asyncinotify==4.0.2 asyncinotify==4.0.2

View File

@ -421,7 +421,7 @@ arcam-fmj==1.4.0
# homeassistant.components.ssdp # homeassistant.components.ssdp
# homeassistant.components.upnp # homeassistant.components.upnp
# homeassistant.components.yeelight # homeassistant.components.yeelight
async-upnp-client==0.38.0 async-upnp-client==0.38.1
# homeassistant.components.sleepiq # homeassistant.components.sleepiq
asyncsleepiq==1.4.1 asyncsleepiq==1.4.1

View File

@ -182,6 +182,9 @@ lxml==4.9.4
# dacite: Ensure we have a version that is able to handle type unions for # dacite: Ensure we have a version that is able to handle type unions for
# Roborock, NAM, Brother, and GIOS. # Roborock, NAM, Brother, and GIOS.
dacite>=1.7.0 dacite>=1.7.0
# Musle wheels for pandas 2.2.0 cannot be build for any architecture.
pandas==2.1.4
""" """
GENERATED_MESSAGE = ( GENERATED_MESSAGE = (

View File

@ -193,7 +193,7 @@ def test_include_dir_list_recursive(
), ),
( (
{"/test/first.yaml": "1", "/test/second.yaml": None}, {"/test/first.yaml": "1", "/test/second.yaml": None},
{"first": 1, "second": None}, {"first": 1, "second": {}},
), ),
], ],
) )