From 0c8f5bf3e7748e4360e1a77687034909bcf99f6a Mon Sep 17 00:00:00 2001 From: Steve Herrell <47094394+twrecked@users.noreply.github.com> Date: Thu, 22 Aug 2024 07:58:54 -0400 Subject: [PATCH] Bump pyaarlo revision. (#980) --- README-advanced.md | 1 + changelog | 2 ++ custom_components/aarlo/__init__.py | 5 +++-- custom_components/aarlo/manifest.json | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README-advanced.md b/README-advanced.md index a82756e4..bdb03e91 100644 --- a/README-advanced.md +++ b/README-advanced.md @@ -74,6 +74,7 @@ You can use `save_media_to` option to specify a file naming scheme. If you do _A - `SN`; the device serial number - `N`; the device name +- `NN`; the device name, lower case with _ replacing spaces - `Y`; the year of the recording, include century - `m`; the month of the year as a number (range 01 to 12) - `d`; the day of the month as a number (range 01 to 31) diff --git a/changelog b/changelog index 8c141036..c9607eb1 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ aarlo +0.8.1.5 + Bump pyaarlo version 0.8.1.4 Fix IO in event loop issue. Possible light warning fix. diff --git a/custom_components/aarlo/__init__.py b/custom_components/aarlo/__init__.py index 766bfcd7..4c42b589 100644 --- a/custom_components/aarlo/__init__.py +++ b/custom_components/aarlo/__init__.py @@ -53,7 +53,7 @@ from .cfg import BlendedCfg, PyaarloCfg -__version__ = "0.8.1.4" +__version__ = "0.8.1.5" _LOGGER = logging.getLogger(__name__) @@ -366,7 +366,8 @@ async def update_listener(hass: HomeAssistant, entry: ConfigEntry): return _LOGGER.debug("reconfiguring...") - cfg = BlendedCfg(hass, entry.data, entry.options) + cfg = BlendedCfg(hass) + await cfg.async_load_and_merge(entry.data, entry.options) hass.data[COMPONENT_CONFIG] = { COMPONENT_DOMAIN: cfg.domain_config, str(Platform.ALARM_CONTROL_PANEL): cfg.alarm_config, diff --git a/custom_components/aarlo/manifest.json b/custom_components/aarlo/manifest.json index 235d1546..b0a021db 100644 --- a/custom_components/aarlo/manifest.json +++ b/custom_components/aarlo/manifest.json @@ -13,7 +13,7 @@ "issue_tracker": "https://github.com/twrecked/hass-aarlo/issues", "requirements": [ "unidecode", - "pyaarlo>=0.8.0.7" + "pyaarlo>=0.8.0.9" ], - "version": "0.8.1.4" + "version": "0.8.1.5" }