We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3bf0235 + 7472676 commit 0aa8608Copy full SHA for 0aa8608
src/tadoasync/models.py
@@ -147,16 +147,16 @@ class DazzleMode(DataClassORJSONMixin):
147
"""DazzleMode model represents the dazzle mode settings of a zone."""
148
149
supported: bool
150
- enabled: bool
+ enabled: bool = field(default=False)
151
152
153
@dataclass
154
class OpenWindowDetection(DataClassORJSONMixin):
155
"""OpenWindowDetection model represents the open window detection settings."""
156
157
158
159
- timeout_in_seconds: int = field(metadata=field_options(alias="timeoutInSeconds"))
+ timeout_in_seconds: int = field(metadata=field_options(alias="timeoutInSeconds"), default=0)
160
161
162
0 commit comments