Skip to content

Commit f272958

Browse files
committed
Add new fields to Event, Gateway, Location, and Setup models for enhanced functionality
1 parent a0981fc commit f272958

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyoverkiz/models.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ class Event:
547547
device_states: list[EventState] = field(factory=list)
548548
old_state: ExecutionState | None = None
549549
new_state: ExecutionState | None = None
550+
actions: list[Action] | None = None
551+
owner: str | None = field(repr=obfuscate_email, default=None)
552+
source: str | None = None
550553

551554

552555
@define(kw_only=True)
@@ -636,6 +639,9 @@ class Gateway:
636639
update_status: UpdateBoxStatus | None = None
637640
sync_in_progress: bool | None = None
638641
type: GatewayType | None = None
642+
auto_update_enabled: bool | None = None
643+
update_criticity_level: str | None = None
644+
automatic_update: bool | None = None
639645

640646
@property
641647
def id(self) -> str:
@@ -713,6 +719,8 @@ class Location:
713719
twilight_offset_enabled: bool = False
714720
dawn_offset: int = 0
715721
dusk_offset: int = 0
722+
country_code: str | None = None
723+
tariff_settings: dict[str, Any] | None = None
716724

717725

718726
# ---------------------------------------------------------------------------
@@ -851,3 +859,5 @@ class Setup:
851859
oid: str | None = None
852860
root_place: Place | None = None
853861
features: list[Feature] | None = None
862+
disconnection_configuration: dict[str, Any] | None = None
863+
metadata: str | None = None

0 commit comments

Comments
 (0)