From 1400847c1754585f676adaa01162ebb4f3506d9a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 06:16:03 +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.1184.0 to 1.1187.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.1184.0...v1.1187.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.1187.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 a639fac..98d9e8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "@seamapi/blueprint": "^1.13.2", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.2.0", - "@seamapi/types": "1.1184.0", + "@seamapi/types": "1.1187.0", "change-case": "^5.4.4", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -864,9 +864,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1184.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1184.0.tgz", - "integrity": "sha512-ix8FvLvIfiUD2XTFkC9DoffM6wriNKU5Yeqb4ublIsedSUzcRbizKzz9jj+e++ypRuTucfkp769sfzKWjsOf3A==", + "version": "1.1187.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1187.0.tgz", + "integrity": "sha512-QTLGjfOyXxRMw5Mz9HcIadTQLyFCUNBsvDjeUgDgB9hfbw/cB3x07RyZnxc90QzIz0yz0o0auORXmqPM7vF+4w==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index e54dd60..3a48176 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@seamapi/blueprint": "^1.13.2", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.2.0", - "@seamapi/types": "1.1184.0", + "@seamapi/types": "1.1187.0", "change-case": "^5.4.4", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" From a07b5eeb2dc9e9f975de772cd2cd48b32445d510 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 12 Nov 2026 06:17:23 +0000 Subject: [PATCH 2/2] ci: Generate code --- lib/seam/resources/device.rb | 85 ++++++++++++++++++++++++++ lib/seam/resources/device_provider.rb | 1 + lib/seam/resources/unmanaged_device.rb | 1 + 3 files changed, 87 insertions(+) diff --git a/lib/seam/resources/device.rb b/lib/seam/resources/device.rb index 70b3b3c..b308816 100644 --- a/lib/seam/resources/device.rb +++ b/lib/seam/resources/device.rb @@ -359,6 +359,51 @@ class Location < BaseResource attr_accessor :timezone end + class NamedSensors < BaseResource + # Air quality index, if the device measures it. + # @return [Float, nil] + attr_accessor :air_quality_index + # Carbon dioxide concentration in parts per million, if the device measures it. + # @return [Float, nil] + attr_accessor :co2_ppm + # Carbon monoxide concentration in parts per million, if the device measures it. + # @return [Float, nil] + attr_accessor :co_ppm + # Display name of the sensor. Defaults to `sensor_name`. + # @return [String] + attr_accessor :display_name + # Indicates whether the device detects that the space is occupied, if the device measures occupancy. + # @return [Boolean, nil] + attr_accessor :is_occupied + # Indicates whether the device detects smoking, if the device measures it. + # @return [Boolean, nil] + attr_accessor :is_smoking_detected + # Mold risk level as reported by the device, if the device measures it. + # @return [String, nil] + attr_accessor :mold_risk_level + # Noise level in decibels, if the device measures noise. + # @return [Float, nil] + attr_accessor :noise_level_decibels + # Noise level as a Noise Risk Score (NRS), if the device reports one. + # @return [Float, nil] + attr_accessor :noise_level_nrs + # Number of occupants the device detects, if the device counts occupants. + # @return [Float, nil] + attr_accessor :occupant_count + # Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. + # @return [Float, nil] + attr_accessor :relative_humidity + # Stable, hardware-defined name of the sensor, such as a port number. + # @return [String] + attr_accessor :sensor_name + # Temperature in °C, if the device measures temperature. + # @return [Float, nil] + attr_accessor :temperature_celsius + # Temperature in °F, if the device measures temperature. + # @return [Float, nil] + attr_accessor :temperature_fahrenheit + end + class Properties < BaseResource class AccessoryKeypad < BaseResource class Battery < BaseResource @@ -2769,9 +2814,15 @@ class CloudRecordingNotEnabled < Warnings # Array of errors associated with the device. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. # @return [Array] resource_list_accessor :errors, Errors + # Additional sensors of the same kind on the device, each with a stable `sensor_name`. Present only when the device has more than one sensor of a kind or no single main sensor. + # @return [Array] + resource_list_accessor :named_sensors, NamedSensors # Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. # @return [Array] resource_list_accessor :warnings, Warnings + # Air quality index, if the device measures it. + # @return [Float, nil] + attr_accessor :air_quality_index # Indicates whether the thermostat can be returned to its weekly program, the schedule that is configured on the device itself, releasing any hold that Seam has set. # @return [Boolean, nil] attr_accessor :can_activate_weekly_program @@ -2848,6 +2899,12 @@ class CloudRecordingNotEnabled < Warnings # - `battery` # - `phone` attr_accessor :capabilities_supported + # Carbon dioxide concentration in parts per million, if the device measures it. + # @return [Float, nil] + attr_accessor :co2_ppm + # Carbon monoxide concentration in parts per million, if the device measures it. + # @return [Float, nil] + attr_accessor :co_ppm # Unique identifier for the account associated with the device. # @return [String] attr_accessor :connected_account_id @@ -2912,6 +2969,7 @@ class CloudRecordingNotEnabled < Warnings # - `reolink_camera` # - `unifi_protect_camera` # - `sonos_speaker` + # - `alertify_sensor` attr_accessor :device_type # 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. # @return [String] @@ -2919,12 +2977,39 @@ class CloudRecordingNotEnabled < Warnings # Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices). # @return [TrueClass] attr_accessor :is_managed + # Indicates whether the device detects that the space is occupied, if the device measures occupancy. + # @return [Boolean, nil] + attr_accessor :is_occupied + # Indicates whether the device detects smoking, if the device measures it. + # @return [Boolean, nil] + attr_accessor :is_smoking_detected + # Mold risk level as reported by the device, if the device measures it. + # @return [String, nil] + attr_accessor :mold_risk_level # Optional nickname to describe the device, settable through Seam. # @return [String, nil] attr_accessor :nickname + # Noise level in decibels, if the device measures noise. + # @return [Float, nil] + attr_accessor :noise_level_decibels + # Noise level as a Noise Risk Score (NRS), if the device reports one. + # @return [Float, nil] + attr_accessor :noise_level_nrs + # Number of occupants the device detects, if the device counts occupants. + # @return [Float, nil] + attr_accessor :occupant_count + # Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity. + # @return [Float, nil] + attr_accessor :relative_humidity # IDs of the spaces the device is in. # @return [Array] attr_accessor :space_ids + # Temperature in °C, if the device measures temperature. + # @return [Float, nil] + attr_accessor :temperature_celsius + # Temperature in °F, if the device measures temperature. + # @return [Float, nil] + attr_accessor :temperature_fahrenheit # Unique identifier for the Seam workspace associated with the device. # @return [String] attr_accessor :workspace_id diff --git a/lib/seam/resources/device_provider.rb b/lib/seam/resources/device_provider.rb index 54ca27e..ed6395d 100644 --- a/lib/seam/resources/device_provider.rb +++ b/lib/seam/resources/device_provider.rb @@ -136,6 +136,7 @@ class DeviceProvider < BaseResource # - `reolink` # - `unifi_protect` # - `yale_connect` + # - `alertify` # - `ical` # - `lodgify` # - `hostaway` diff --git a/lib/seam/resources/unmanaged_device.rb b/lib/seam/resources/unmanaged_device.rb index 6c0b927..a3f7e32 100644 --- a/lib/seam/resources/unmanaged_device.rb +++ b/lib/seam/resources/unmanaged_device.rb @@ -1091,6 +1091,7 @@ class CloudRecordingNotEnabled < Warnings # - `reolink_camera` # - `unifi_protect_camera` # - `sonos_speaker` + # - `alertify_sensor` attr_accessor :device_type # 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. # @return [String]