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/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 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")