From 3c72d058bc212601a3859be2a5c8260684acdd0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2026 09:55:53 +0000 Subject: [PATCH 1/2] feat(deps-dev): bump @seamapi/types Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.1162.0 to 1.1182.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.1162.0...v1.1182.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.1182.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6525a51..2f089a9a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "@seamapi/blueprint": "^1.12.0", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.1.1", - "@seamapi/types": "1.1162.0", + "@seamapi/types": "1.1182.0", "change-case": "^5.4.4", "prettier": "^3.2.5" }, @@ -853,9 +853,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1162.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1162.0.tgz", - "integrity": "sha512-1l77k1pKULMnOUPEclAX7kt0k6RrVt6e/lzhSl9lEu/OulRY3vbYcWqLMfZIrxQ9yCHKokevvD1/Zzf62AlMDw==", + "version": "1.1182.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1182.0.tgz", + "integrity": "sha512-fFm3zsLFGAMrK2n7qQdo091kAuIuu+bL2bJAwrgxOCqM7wFUwDdzPlbzVr1/fyWYmk6VY6tyWhDB/ZYeol8f3g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 503feaa6..a3ffe3dd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@seamapi/blueprint": "^1.12.0", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.1.1", - "@seamapi/types": "1.1162.0", + "@seamapi/types": "1.1182.0", "change-case": "^5.4.4", "prettier": "^3.2.5" } From 8dbddb3a186a6b9a9daa72b8ce792b4ed7f42fe4 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 9 Nov 2026 09:57:07 +0000 Subject: [PATCH 2/2] ci: Generate code --- seam/resources/__init__.py | 3 + seam/resources/device.py | 48 +++++++- seam/resources/device_provider.py | 3 + seam/resources/seam_event.py | 177 +++++++++++++++++++++++++++++ seam/resources/unmanaged_device.py | 5 +- seam/routes/client_sessions.py | 75 ++++++++++-- seam/routes/connect_webviews.py | 16 ++- seam/routes/devices.py | 28 +++++ seam/routes/devices_unmanaged.py | 28 +++++ seam/routes/events.py | 24 ++++ seam/routes/locks.py | 28 +++++ 11 files changed, 419 insertions(+), 16 deletions(-) diff --git a/seam/resources/__init__.py b/seam/resources/__init__.py index be829418..612cadb1 100644 --- a/seam/resources/__init__.py +++ b/seam/resources/__init__.py @@ -216,6 +216,9 @@ LockLockedEvent, LockUnlockedEvent, LockAccessDeniedEvent, + LockJammedEvent, + LockDoorOpenedEvent, + LockDoorClosedEvent, ThermostatClimatePresetActivatedEvent, ThermostatManuallyAdjustedEvent, ThermostatTemperatureThresholdExceededEvent, diff --git a/seam/resources/device.py b/seam/resources/device.py index 4d958f8a..93668d4a 100644 --- a/seam/resources/device.py +++ b/seam/resources/device.py @@ -73,7 +73,7 @@ class Device: :ivar device_provider: Provider of the device. Represents the third-party service through which the device is controlled. - :ivar device_type: Type of the device. + :ivar device_type: Type of the device. The ``august_lock`` and ``yale_lock`` values are deprecated. Use ``yale_access_lock`` in place of ``august_lock``, and ``yale_access_lock`` or ``yale_home_lock`` in place of ``yale_lock``. :ivar display_name: Display name of the device, defaults to nickname (if it is set) or ``properties.appearance.name``, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. @@ -703,6 +703,8 @@ class Properties(ResourceMapping): :ivar yacan_metadata: Metadata for a Yacan device. + :ivar yale_connect_metadata: Metadata for a Yale Connect lock. + :ivar auto_lock_delay_seconds: The delay in seconds before the lock automatically locks after being unlocked. :ivar auto_lock_enabled: Indicates whether automatic locking is enabled. @@ -2623,6 +2625,41 @@ def from_dict(cls, d: Any): serial_number=d.get("serial_number", None), ) + @dataclass + class YaleConnectMetadata(ResourceMapping): + """Metadata for a Yale Connect lock. + + :ivar device_id: Device ID for a Yale Connect lock. + + :ivar device_name: Device name for a Yale Connect lock. + + :ivar firmware_version: Firmware version reported by the Yale Connect lock. + + :ivar home_name: Name of the Yale Connect home that contains the lock. + + :ivar model: Model reported by the Yale Connect lock. + + :ivar time_zone_description: Time zone of the Yale Connect home, as Yale reports it. + """ + + device_id: Optional[str] + device_name: Optional[str] + firmware_version: Optional[str] + home_name: Optional[str] + model: Optional[str] + time_zone_description: Optional[str] + + @classmethod + def from_dict(cls, d: Any): + return cls( + device_id=d.get("device_id", None), + device_name=d.get("device_name", None), + firmware_version=d.get("firmware_version", None), + home_name=d.get("home_name", None), + model=d.get("model", None), + time_zone_description=d.get("time_zone_description", None), + ) + @dataclass class CodeConstraints(ResourceMapping): """Constraints on access codes for the device. Seam represents each constraint as an object with a ``constraint_type`` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. @@ -3413,6 +3450,7 @@ def from_dict(cls, d: Any): visionline_metadata: Optional[VisionlineMetadata] wyze_metadata: Optional[WyzeMetadata] yacan_metadata: Optional[YacanMetadata] + yale_connect_metadata: Optional[YaleConnectMetadata] auto_lock_delay_seconds: Optional[float] auto_lock_enabled: Optional[bool] backup_access_code_pool_enabled: Optional[bool] @@ -3754,6 +3792,11 @@ def from_dict(cls, d: Any): if d.get("yacan_metadata") is not None else None ), + yale_connect_metadata=( + cls.YaleConnectMetadata.from_dict(d.get("yale_connect_metadata")) + if d.get("yale_connect_metadata") is not None + else None + ), auto_lock_delay_seconds=d.get("auto_lock_delay_seconds", None), auto_lock_enabled=d.get("auto_lock_enabled", None), backup_access_code_pool_enabled=d.get( @@ -4711,6 +4754,9 @@ def from_dict(cls, d: Any): "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", diff --git a/seam/resources/device_provider.py b/seam/resources/device_provider.py index b62c1e2d..c022320b 100644 --- a/seam/resources/device_provider.py +++ b/seam/resources/device_provider.py @@ -95,6 +95,8 @@ class DeviceProvider: "schlage", "smartthings", "yale", + "yale_access", + "yale_home", "genie", "doorking", "salto", @@ -145,6 +147,7 @@ class DeviceProvider: "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", diff --git a/seam/resources/seam_event.py b/seam/resources/seam_event.py index 4bbb3cf4..613669b5 100644 --- a/seam/resources/seam_event.py +++ b/seam/resources/seam_event.py @@ -7081,6 +7081,177 @@ def from_dict(cls, d: Any): ) +@dataclass +class LockJammedEvent: + """The `lock `_ reported that its bolt is jammed. + + :ivar connected_account_custom_metadata: Custom metadata of the connected account, present when connected_account_id is provided. + + :ivar connected_account_id: ID of the connected account associated with the event. + + :ivar created_at: Date and time at which the event was created. + + :ivar customer_key: The customer key associated with the device, if any. + + :ivar device_custom_metadata: Custom metadata of the device, present when device_id is provided. + + :ivar device_id: ID of the affected device. + + :ivar event_description: Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. + + :ivar event_id: ID of the event. + + :ivar event_type: + + :ivar occurred_at: Date and time at which the event occurred. + + :ivar workspace_id: ID of the workspace associated with the event.""" + + connected_account_custom_metadata: Optional[Dict[str, Union[str, bool]]] + connected_account_id: str + created_at: str + customer_key: Optional[str] + device_custom_metadata: Optional[Dict[str, Union[str, bool]]] + device_id: str + event_description: Optional[str] + event_id: str + event_type: Literal["lock.jammed"] + occurred_at: str + workspace_id: str + + @classmethod + def from_dict(cls, d: Any): + return cls( + connected_account_custom_metadata=DeepAttrDict( + d.get("connected_account_custom_metadata", None) + ), + connected_account_id=d.get("connected_account_id", None), + created_at=d.get("created_at", None), + customer_key=d.get("customer_key", None), + device_custom_metadata=DeepAttrDict(d.get("device_custom_metadata", None)), + device_id=d.get("device_id", None), + event_description=d.get("event_description", None), + event_id=d.get("event_id", None), + event_type=d.get("event_type", None), + occurred_at=d.get("occurred_at", None), + workspace_id=d.get("workspace_id", None), + ) + + +@dataclass +class LockDoorOpenedEvent: + """The door sensor of the `lock `_ reported that the door was opened. + + :ivar connected_account_custom_metadata: Custom metadata of the connected account, present when connected_account_id is provided. + + :ivar connected_account_id: ID of the connected account associated with the event. + + :ivar created_at: Date and time at which the event was created. + + :ivar customer_key: The customer key associated with the device, if any. + + :ivar device_custom_metadata: Custom metadata of the device, present when device_id is provided. + + :ivar device_id: ID of the affected device. + + :ivar event_description: Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. + + :ivar event_id: ID of the event. + + :ivar event_type: + + :ivar occurred_at: Date and time at which the event occurred. + + :ivar workspace_id: ID of the workspace associated with the event.""" + + connected_account_custom_metadata: Optional[Dict[str, Union[str, bool]]] + connected_account_id: str + created_at: str + customer_key: Optional[str] + device_custom_metadata: Optional[Dict[str, Union[str, bool]]] + device_id: str + event_description: Optional[str] + event_id: str + event_type: Literal["lock.door_opened"] + occurred_at: str + workspace_id: str + + @classmethod + def from_dict(cls, d: Any): + return cls( + connected_account_custom_metadata=DeepAttrDict( + d.get("connected_account_custom_metadata", None) + ), + connected_account_id=d.get("connected_account_id", None), + created_at=d.get("created_at", None), + customer_key=d.get("customer_key", None), + device_custom_metadata=DeepAttrDict(d.get("device_custom_metadata", None)), + device_id=d.get("device_id", None), + event_description=d.get("event_description", None), + event_id=d.get("event_id", None), + event_type=d.get("event_type", None), + occurred_at=d.get("occurred_at", None), + workspace_id=d.get("workspace_id", None), + ) + + +@dataclass +class LockDoorClosedEvent: + """The door sensor of the `lock `_ reported that the door was closed. + + :ivar connected_account_custom_metadata: Custom metadata of the connected account, present when connected_account_id is provided. + + :ivar connected_account_id: ID of the connected account associated with the event. + + :ivar created_at: Date and time at which the event was created. + + :ivar customer_key: The customer key associated with the device, if any. + + :ivar device_custom_metadata: Custom metadata of the device, present when device_id is provided. + + :ivar device_id: ID of the affected device. + + :ivar event_description: Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. + + :ivar event_id: ID of the event. + + :ivar event_type: + + :ivar occurred_at: Date and time at which the event occurred. + + :ivar workspace_id: ID of the workspace associated with the event.""" + + connected_account_custom_metadata: Optional[Dict[str, Union[str, bool]]] + connected_account_id: str + created_at: str + customer_key: Optional[str] + device_custom_metadata: Optional[Dict[str, Union[str, bool]]] + device_id: str + event_description: Optional[str] + event_id: str + event_type: Literal["lock.door_closed"] + occurred_at: str + workspace_id: str + + @classmethod + def from_dict(cls, d: Any): + return cls( + connected_account_custom_metadata=DeepAttrDict( + d.get("connected_account_custom_metadata", None) + ), + connected_account_id=d.get("connected_account_id", None), + created_at=d.get("created_at", None), + customer_key=d.get("customer_key", None), + device_custom_metadata=DeepAttrDict(d.get("device_custom_metadata", None)), + device_id=d.get("device_id", None), + event_description=d.get("event_description", None), + event_id=d.get("event_id", None), + event_type=d.get("event_type", None), + occurred_at=d.get("occurred_at", None), + workspace_id=d.get("workspace_id", None), + ) + + @dataclass class ThermostatClimatePresetActivatedEvent: """A thermostat `climate preset `_ was activated. @@ -8036,6 +8207,9 @@ def from_dict(cls, d: Any): LockLockedEvent, LockUnlockedEvent, LockAccessDeniedEvent, + LockJammedEvent, + LockDoorOpenedEvent, + LockDoorClosedEvent, ThermostatClimatePresetActivatedEvent, ThermostatManuallyAdjustedEvent, ThermostatTemperatureThresholdExceededEvent, @@ -8147,6 +8321,9 @@ def from_dict(cls, d: Any): "lock.locked": LockLockedEvent, "lock.unlocked": LockUnlockedEvent, "lock.access_denied": LockAccessDeniedEvent, + "lock.jammed": LockJammedEvent, + "lock.door_opened": LockDoorOpenedEvent, + "lock.door_closed": LockDoorClosedEvent, "thermostat.climate_preset_activated": ThermostatClimatePresetActivatedEvent, "thermostat.manually_adjusted": ThermostatManuallyAdjustedEvent, "thermostat.temperature_threshold_exceeded": ThermostatTemperatureThresholdExceededEvent, diff --git a/seam/resources/unmanaged_device.py b/seam/resources/unmanaged_device.py index 227f88ae..4829d8e1 100644 --- a/seam/resources/unmanaged_device.py +++ b/seam/resources/unmanaged_device.py @@ -69,7 +69,7 @@ class UnmanagedDevice: :ivar device_id: ID of the device. - :ivar device_type: Type of the device. + :ivar device_type: Type of the device. The ``august_lock`` and ``yale_lock`` values are deprecated. Use ``yale_access_lock`` in place of ``august_lock``, and ``yale_access_lock`` or ``yale_home_lock`` in place of ``yale_lock``. :ivar display_name: Display name of the device, defaults to nickname (if it is set) or ``properties.appearance.name``, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. @@ -1505,6 +1505,9 @@ def from_dict(cls, d: Any): "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", diff --git a/seam/routes/client_sessions.py b/seam/routes/client_sessions.py index f474e32b..918047a0 100644 --- a/seam/routes/client_sessions.py +++ b/seam/routes/client_sessions.py @@ -6,6 +6,7 @@ from ..resources import ClientSession from ..response import unwrap from ..response import unwrap_list +from ..pagination import PaginatedList class AbstractClientSessions(abc.ABC): @@ -129,6 +130,9 @@ def list( *, client_session_id: Optional[str] = None, connect_webview_id: Optional[Union[str, Null]] = None, + customer_key: Optional[str] = None, + limit: Optional[int] = None, + page_cursor: Optional[Union[str, Null]] = None, user_identifier_key: Optional[str] = None, user_identity_id: Optional[Union[str, Null]] = None, without_user_identifier_key: Optional[bool] = None, @@ -139,6 +143,12 @@ def list( :param connect_webview_id: ID of the `Connect Webview `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a Connect Webview. + :param customer_key: Customer key for which you want to list client sessions. + + :param limit: Maximum number of records to return per page. + + :param page_cursor: Identifies the specific page of results to return, obtained from the previous page's ``next_page_cursor``. + :param user_identifier_key: Your user ID for the user by which you want to filter client sessions. :param user_identity_id: ID of the `user identity `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a user identity. @@ -279,6 +289,9 @@ async def list( *, client_session_id: Optional[str] = None, connect_webview_id: Optional[Union[str, Null]] = None, + customer_key: Optional[str] = None, + limit: Optional[int] = None, + page_cursor: Optional[Union[str, Null]] = None, user_identifier_key: Optional[str] = None, user_identity_id: Optional[Union[str, Null]] = None, without_user_identifier_key: Optional[bool] = None, @@ -289,6 +302,12 @@ async def list( :param connect_webview_id: ID of the `Connect Webview `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a Connect Webview. + :param customer_key: Customer key for which you want to list client sessions. + + :param limit: Maximum number of records to return per page. + + :param page_cursor: Identifies the specific page of results to return, obtained from the previous page's ``next_page_cursor``. + :param user_identifier_key: Your user ID for the user by which you want to filter client sessions. :param user_identity_id: ID of the `user identity `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a user identity. @@ -528,13 +547,16 @@ def grant_access( @route_metadata( path="/client_sessions/list", at_least_one_parameter_names=(), - has_pagination=False, + has_pagination=True, ) def list( self, *, client_session_id: Optional[str] = None, connect_webview_id: Optional[Union[str, Null]] = None, + customer_key: Optional[str] = None, + limit: Optional[int] = None, + page_cursor: Optional[Union[str, Null]] = None, user_identifier_key: Optional[str] = None, user_identity_id: Optional[Union[str, Null]] = None, without_user_identifier_key: Optional[bool] = None, @@ -545,6 +567,12 @@ def list( :param connect_webview_id: ID of the `Connect Webview `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a Connect Webview. + :param customer_key: Customer key for which you want to list client sessions. + + :param limit: Maximum number of records to return per page. + + :param page_cursor: Identifies the specific page of results to return, obtained from the previous page's ``next_page_cursor``. + :param user_identifier_key: Your user ID for the user by which you want to filter client sessions. :param user_identity_id: ID of the `user identity `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a user identity. @@ -558,6 +586,12 @@ def list( params["client_session_id"] = client_session_id if connect_webview_id is not None: params["connect_webview_id"] = connect_webview_id + if customer_key is not None: + params["customer_key"] = customer_key + if limit is not None: + params["limit"] = limit + if page_cursor is not None: + params["page_cursor"] = page_cursor if user_identifier_key is not None: params["user_identifier_key"] = user_identifier_key if user_identity_id is not None: @@ -566,10 +600,13 @@ def list( params["without_user_identifier_key"] = without_user_identifier_key res = self.client.get("/client_sessions/list", params=params) - return [ - ClientSession.from_dict(item) - for item in unwrap_list(res, "client_sessions", "/client_sessions/list") - ] + return PaginatedList( + [ + ClientSession.from_dict(item) + for item in unwrap_list(res, "client_sessions", "/client_sessions/list") + ], + pagination=res.get("pagination"), + ) @route_metadata( path="/client_sessions/revoke", @@ -813,13 +850,16 @@ async def grant_access( @route_metadata( path="/client_sessions/list", at_least_one_parameter_names=(), - has_pagination=False, + has_pagination=True, ) async def list( self, *, client_session_id: Optional[str] = None, connect_webview_id: Optional[Union[str, Null]] = None, + customer_key: Optional[str] = None, + limit: Optional[int] = None, + page_cursor: Optional[Union[str, Null]] = None, user_identifier_key: Optional[str] = None, user_identity_id: Optional[Union[str, Null]] = None, without_user_identifier_key: Optional[bool] = None, @@ -830,6 +870,12 @@ async def list( :param connect_webview_id: ID of the `Connect Webview `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a Connect Webview. + :param customer_key: Customer key for which you want to list client sessions. + + :param limit: Maximum number of records to return per page. + + :param page_cursor: Identifies the specific page of results to return, obtained from the previous page's ``next_page_cursor``. + :param user_identifier_key: Your user ID for the user by which you want to filter client sessions. :param user_identity_id: ID of the `user identity `_ for which you want to retrieve client sessions. Specify ``null`` to retrieve client sessions that are not associated with a user identity. @@ -843,6 +889,12 @@ async def list( params["client_session_id"] = client_session_id if connect_webview_id is not None: params["connect_webview_id"] = connect_webview_id + if customer_key is not None: + params["customer_key"] = customer_key + if limit is not None: + params["limit"] = limit + if page_cursor is not None: + params["page_cursor"] = page_cursor if user_identifier_key is not None: params["user_identifier_key"] = user_identifier_key if user_identity_id is not None: @@ -851,10 +903,13 @@ async def list( params["without_user_identifier_key"] = without_user_identifier_key res = await self.client.get("/client_sessions/list", params=params) - return [ - ClientSession.from_dict(item) - for item in unwrap_list(res, "client_sessions", "/client_sessions/list") - ] + return PaginatedList( + [ + ClientSession.from_dict(item) + for item in unwrap_list(res, "client_sessions", "/client_sessions/list") + ], + pagination=res.get("pagination"), + ) @route_metadata( path="/client_sessions/revoke", diff --git a/seam/routes/connect_webviews.py b/seam/routes/connect_webviews.py index 88046b1e..3cf78918 100644 --- a/seam/routes/connect_webviews.py +++ b/seam/routes/connect_webviews.py @@ -41,6 +41,8 @@ def create( "schlage", "smartthings", "yale", + "yale_access", + "yale_home", "genie", "doorking", "salto", @@ -91,6 +93,7 @@ def create( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -101,7 +104,6 @@ def create( "aqara", "eufy", "sonos", - "yale_access", "hid_cm", "google_nest", "slack", @@ -241,6 +243,8 @@ async def create( "schlage", "smartthings", "yale", + "yale_access", + "yale_home", "genie", "doorking", "salto", @@ -291,6 +295,7 @@ async def create( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -301,7 +306,6 @@ async def create( "aqara", "eufy", "sonos", - "yale_access", "hid_cm", "google_nest", "slack", @@ -448,6 +452,8 @@ def create( "schlage", "smartthings", "yale", + "yale_access", + "yale_home", "genie", "doorking", "salto", @@ -498,6 +504,7 @@ def create( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -508,7 +515,6 @@ def create( "aqara", "eufy", "sonos", - "yale_access", "hid_cm", "google_nest", "slack", @@ -733,6 +739,8 @@ async def create( "schlage", "smartthings", "yale", + "yale_access", + "yale_home", "genie", "doorking", "salto", @@ -783,6 +791,7 @@ async def create( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -793,7 +802,6 @@ async def create( "aqara", "eufy", "sonos", - "yale_access", "hid_cm", "google_nest", "slack", diff --git a/seam/routes/devices.py b/seam/routes/devices.py index c2e76d0d..e2ee28d3 100644 --- a/seam/routes/devices.py +++ b/seam/routes/devices.py @@ -80,6 +80,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -134,6 +137,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -222,6 +228,7 @@ def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -400,6 +407,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -454,6 +464,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -542,6 +555,7 @@ async def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -740,6 +754,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -794,6 +811,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -882,6 +902,7 @@ def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -1167,6 +1188,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -1221,6 +1245,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -1309,6 +1336,7 @@ async def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", diff --git a/seam/routes/devices_unmanaged.py b/seam/routes/devices_unmanaged.py index d27a2281..75ca28d9 100644 --- a/seam/routes/devices_unmanaged.py +++ b/seam/routes/devices_unmanaged.py @@ -59,6 +59,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -113,6 +116,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -201,6 +207,7 @@ def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -318,6 +325,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -372,6 +382,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -460,6 +473,7 @@ async def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -601,6 +615,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -655,6 +672,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -743,6 +763,7 @@ def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", @@ -932,6 +953,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -986,6 +1010,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -1074,6 +1101,7 @@ async def list( "arlo", "reolink", "unifi_protect", + "yale_connect", "ical", "lodgify", "hostaway", diff --git a/seam/routes/events.py b/seam/routes/events.py index 602f8737..d76e1165 100644 --- a/seam/routes/events.py +++ b/seam/routes/events.py @@ -156,6 +156,9 @@ def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -275,6 +278,9 @@ def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -512,6 +518,9 @@ async def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -631,6 +640,9 @@ async def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -921,6 +933,9 @@ def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -1040,6 +1055,9 @@ def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -1393,6 +1411,9 @@ async def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", @@ -1512,6 +1533,9 @@ async def list( "lock.locked", "lock.unlocked", "lock.access_denied", + "lock.jammed", + "lock.door_opened", + "lock.door_closed", "thermostat.climate_preset_activated", "thermostat.manually_adjusted", "thermostat.temperature_threshold_exceeded", diff --git a/seam/routes/locks.py b/seam/routes/locks.py index 79c22d84..a9d9d78b 100644 --- a/seam/routes/locks.py +++ b/seam/routes/locks.py @@ -90,6 +90,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -127,6 +130,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -179,6 +185,7 @@ def list( "lockly", "smartthings", "ultraloq", + "yale_connect", "omnitec", "kisi", "yacan", @@ -308,6 +315,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -345,6 +355,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -397,6 +410,7 @@ async def list( "lockly", "smartthings", "ultraloq", + "yale_connect", "omnitec", "kisi", "yacan", @@ -572,6 +586,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -609,6 +626,9 @@ def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -661,6 +681,7 @@ def list( "lockly", "smartthings", "ultraloq", + "yale_connect", "omnitec", "kisi", "yacan", @@ -895,6 +916,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -932,6 +956,9 @@ async def list( "smartthings_lock", "wyze_lock", "yale_lock", + "yale_access_lock", + "yale_home_lock", + "yale_connect_lock", "two_n_intercom", "controlbyweb_device", "ttlock_lock", @@ -984,6 +1011,7 @@ async def list( "lockly", "smartthings", "ultraloq", + "yale_connect", "omnitec", "kisi", "yacan",