Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions aiohasupervisor/models/homeassistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class HomeAssistantInfo(ResponseData):
audio_input: str | None
audio_output: str | None
backups_exclude_database: bool
duplicate_log_file: bool


@dataclass(frozen=True, slots=True)
Expand All @@ -46,6 +47,7 @@ class HomeAssistantOptions(Options):
audio_input: str | None = DEFAULT # type: ignore[assignment]
audio_output: str | None = DEFAULT # type: ignore[assignment]
backups_exclude_database: bool | None = None
duplicate_log_file: bool | None = None


@dataclass(frozen=True, slots=True)
Expand Down
3 changes: 2 additions & 1 deletion tests/fixtures/homeassistant_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"watchdog": true,
"audio_input": null,
"audio_output": null,
"backups_exclude_database": false
"backups_exclude_database": false,
"duplicate_log_file": false
}
}
Loading