From 115fbfe3096f0520067f71477f84de8498616492 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 09:53:04 +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.1136.1 to 1.1142.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.1136.1...v1.1142.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.1142.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 ef63743d..4eb32f8b 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.1136.1", + "@seamapi/types": "1.1142.0", "change-case": "^5.4.4", "prettier": "^3.2.5" }, @@ -853,9 +853,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1136.1", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1136.1.tgz", - "integrity": "sha512-B3flfbWB4zi3KXhrser7u7MpmdVRQO46M1Kjd7BK9p0cEWi/N8dCNx2vzUYwoQ8EqxiLImu5Rrj/aMtxurx+xA==", + "version": "1.1142.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1142.0.tgz", + "integrity": "sha512-9KjUC6yfz2jzICw8M4Fpb0MsIgTl1MQSU3ifixxY7RM7ALeJy5CVSP1PNceTJiacBraZWi6/Ufyvv8GFizP7Tg==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index dfb9e116..38e36daa 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.1136.1", + "@seamapi/types": "1.1142.0", "change-case": "^5.4.4", "prettier": "^3.2.5" } From afd345b939e2289f33eccfacfcadf6a37736444e Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 30 Oct 2026 09:53:37 +0000 Subject: [PATCH 2/2] ci: Generate code --- seam/resources/device.py | 33 +++++++++++++++++++++++++++++++-- seam/resources/space.py | 30 +++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/seam/resources/device.py b/seam/resources/device.py index eaf00350..63f669eb 100644 --- a/seam/resources/device.py +++ b/seam/resources/device.py @@ -2253,18 +2253,47 @@ def from_dict(cls, d: Any): class TadoMetadata(ResourceMapping): """Metadata for a tado° device. - :ivar device_type: Device type for a tado° device. + :ivar device_serial_numbers: Serial numbers of all tado° devices in the zone. - :ivar serial_no: Serial number for a tado° device.""" + :ivar device_type: Device type of the main tado° device in the zone, such as ``RU02``, ``VA02`` or ``WR02``. + :ivar home_generation: Generation of the tado° home, such as ``PRE_LINE_X``. + + :ivar home_id: ID of the tado° home. + + :ivar home_name: Name of the tado° home. + + :ivar serial_no: Serial number of the main tado° device in the zone, such as its wall thermostat or Smart AC Control. + + :ivar zone_id: ID of the tado° zone within its home. + + :ivar zone_name: Name of the tado° zone. + + :ivar zone_type: Type of the tado° zone: ``HEATING`` or ``AIR_CONDITIONING``. + """ + + device_serial_numbers: Optional[List[str]] device_type: Optional[str] + home_generation: Optional[str] + home_id: Optional[str] + home_name: Optional[str] serial_no: Optional[str] + zone_id: Optional[str] + zone_name: Optional[str] + zone_type: Optional[str] @classmethod def from_dict(cls, d: Any): return cls( + device_serial_numbers=d.get("device_serial_numbers", None), device_type=d.get("device_type", None), + home_generation=d.get("home_generation", None), + home_id=d.get("home_id", None), + home_name=d.get("home_name", None), serial_no=d.get("serial_no", None), + zone_id=d.get("zone_id", None), + zone_name=d.get("zone_name", None), + zone_type=d.get("zone_type", None), ) @dataclass diff --git a/seam/resources/space.py b/seam/resources/space.py index 1279dadd..42813053 100644 --- a/seam/resources/space.py +++ b/seam/resources/space.py @@ -106,9 +106,37 @@ def from_dict(cls, d: Any): warning_code=d.get("warning_code", None), ) - Warnings = Union[BeingDeletedWarning] + @dataclass + class NoiseSensorConfigurationMismatchWarning(ResourceMapping): + """Indicates that Seam could not apply the noise sensor automation to one or more noise sensors in the space, for example because their settings keep changing back after Seam re-applies it, Seam does not know the sensor's time zone yet, or the sensor is shared with spaces that configure it differently. + + :ivar created_at: Date and time at which Seam created the warning. + + :ivar device_ids: IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation. + + :ivar message: Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. + + :ivar warning_code: Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. + """ + + created_at: str + device_ids: List[str] + message: str + warning_code: Literal["noise_sensor_configuration_mismatch"] + + @classmethod + def from_dict(cls, d: Any): + return cls( + created_at=d.get("created_at", None), + device_ids=d.get("device_ids", None), + message=d.get("message", None), + warning_code=d.get("warning_code", None), + ) + + Warnings = Union[BeingDeletedWarning, NoiseSensorConfigurationMismatchWarning] _WarningsVariants = { "being_deleted": BeingDeletedWarning, + "noise_sensor_configuration_mismatch": NoiseSensorConfigurationMismatchWarning, } acs_entrance_count: float