Skip to content
Merged
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
6 changes: 3 additions & 3 deletions src/tadoasync/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,16 @@ class DazzleMode(DataClassORJSONMixin):
"""DazzleMode model represents the dazzle mode settings of a zone."""

supported: bool
enabled: bool
enabled: bool = field(default=False)


@dataclass
class OpenWindowDetection(DataClassORJSONMixin):
"""OpenWindowDetection model represents the open window detection settings."""

supported: bool
enabled: bool
timeout_in_seconds: int = field(metadata=field_options(alias="timeoutInSeconds"))
enabled: bool = field(default=False)
timeout_in_seconds: int = field(metadata=field_options(alias="timeoutInSeconds"), default=0)


@dataclass
Expand Down