From 247900fa208ba4445bbf782ee765636235098e05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Apr 2025 07:36:35 +0000 Subject: [PATCH 1/2] Bump mashumaro from 3.13.1 to 3.15 Bumps [mashumaro](https://github.com/Fatal1ty/mashumaro) from 3.13.1 to 3.15. - [Release notes](https://github.com/Fatal1ty/mashumaro/releases) - [Commits](https://github.com/Fatal1ty/mashumaro/compare/v3.13.1...v3.15) --- updated-dependencies: - dependency-name: mashumaro dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fe9fda4..fc67f78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ version = "0.0.0" dev = [ # Production requirements "aiohttp==3.11.16", - "mashumaro==3.13.1", + "mashumaro==3.15", "orjson==3.10.16", # Test requirements From 6475dfff50be4fd4ad57b9a23484119ff09b3906 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Wed, 9 Apr 2025 14:51:02 +0000 Subject: [PATCH 2/2] Fix typing bug in homeassistant info model --- aiohasupervisor/models/homeassistant.py | 4 ++-- tests/test_homeassistant.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aiohasupervisor/models/homeassistant.py b/aiohasupervisor/models/homeassistant.py index ef0c37f..48f8650 100644 --- a/aiohasupervisor/models/homeassistant.py +++ b/aiohasupervisor/models/homeassistant.py @@ -23,8 +23,8 @@ class HomeAssistantInfo(ResponseData): port: int ssl: bool watchdog: bool - audio_input: str - audio_output: str + audio_input: str | None + audio_output: str | None backups_exclude_database: bool diff --git a/tests/test_homeassistant.py b/tests/test_homeassistant.py index 39c7bde..eaefa58 100644 --- a/tests/test_homeassistant.py +++ b/tests/test_homeassistant.py @@ -35,6 +35,7 @@ async def test_homeassistant_info( assert info.arch == "aarch64" assert info.ssl is False assert info.port == 8123 + assert info.audio_input is None assert info.audio_output is None assert info.ip_address == IPv4Address("172.30.32.1")