Skip to content

Commit

Permalink
Matter Sensor: add temp/humidity offset preferences to profiles
Browse files Browse the repository at this point in the history
Adds temperatureOffset and relativeHumidityOffset preferences to profiles that
support the temperatureMeasurement and relativeHumidityMeasurement capabilities.
  • Loading branch information
ctowns committed Dec 13, 2024
1 parent 0a70f5c commit 7623c0f
Show file tree
Hide file tree
Showing 11 changed files with 52 additions and 2 deletions.
5 changes: 5 additions & 0 deletions drivers/SmartThings/matter-sensor/profiles/aqs-level.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ components:
version: 1
categories:
- name: AirQualityDetector
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ components:
- id: refresh
version: 1
categories:
- name: MotionSensor
- name: MotionSensor
preferences:
- preferenceId: tempOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ components:
- id: refresh
version: 1
categories:
- name: MotionSensor
- name: MotionSensor
preferences:
- preferenceId: tempOffset
explicit: true
5 changes: 5 additions & 0 deletions drivers/SmartThings/matter-sensor/profiles/sensor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ components:
version: 1
categories:
- name: GenericSensor
preferences:
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ components:
- name: SmokeDetector
preferences:
- preferenceId: certifiedpreferences.smokeSensorSensitivity
explicit: true
- preferenceId: tempOffset
explicit: true
- preferenceId: humidityOffset
explicit: true

0 comments on commit 7623c0f

Please sign in to comment.