-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Aqara Climate Sensor W100 (#1843)
* Add Aqara Climate Sensor W100 This device has a Temperature Sensor(0x0302), a Humidity Sensor(0x0307), and 3 Generic Switchs(0x000F). * It is modified to support w100 in Matter-switch, not Matter-sensor. * Revert "It is modified to support w100 in Matter-switch, not Matter-sensor." This reverts commit 511f361. * It is modified to support w100 in matter-switch, not matter-sensor. * It is modified to support w100 in matter-switch, not matter-sensor. * Use device:get_endpoints to delete the device's fingerprint and modify it to operate more dynamically
- Loading branch information
1 parent
a8db39b
commit 7171fd3
Showing
3 changed files
with
654 additions
and
6 deletions.
There are no files selected for viewing
99 changes: 99 additions & 0 deletions
99
drivers/SmartThings/matter-switch/profiles/3-button-battery-temperature-humidity.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
name: 3-button-battery-temperature-humidity | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: temperatureMeasurement | ||
version: 1 | ||
- id: relativeHumidityMeasurement | ||
version: 1 | ||
- id: battery | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: TempHumiditySensor | ||
- id: button1 | ||
capabilities: | ||
- id: button | ||
version: 1 | ||
categories: | ||
- name: RemoteController | ||
- id: button2 | ||
capabilities: | ||
- id: button | ||
version: 1 | ||
categories: | ||
- name: RemoteController | ||
- id: button3 | ||
capabilities: | ||
- id: button | ||
version: 1 | ||
categories: | ||
- name: RemoteController | ||
preferences: | ||
- preferenceId: tempOffset | ||
explicit: true | ||
- preferenceId: humidityOffset | ||
explicit: true | ||
deviceConfig: | ||
dashboard: | ||
states: | ||
- component: main | ||
capability: temperatureMeasurement | ||
version: 1 | ||
group: main | ||
composite: true | ||
- component: main | ||
capability: relativeHumidityMeasurement | ||
version: 1 | ||
group: main | ||
values: | ||
- label: " {{humidity.value}} {{humidity.unit}}" | ||
composite: true | ||
actions: [] | ||
basicPlus: [] | ||
detailView: | ||
- component: main | ||
capability: temperatureMeasurement | ||
version: 1 | ||
- component: main | ||
capability: relativeHumidityMeasurement | ||
version: 1 | ||
- component: main | ||
capability: battery | ||
version: 1 | ||
- component: main | ||
capability: refresh | ||
version: 1 | ||
- component: button1 | ||
capability: button | ||
version: 1 | ||
- component: button2 | ||
capability: button | ||
version: 1 | ||
- component: button3 | ||
capability: button | ||
version: 1 | ||
automation: | ||
conditions: | ||
- component: main | ||
capability: temperatureMeasurement | ||
version: 1 | ||
- component: main | ||
capability: relativeHumidityMeasurement | ||
version: 1 | ||
- component: main | ||
capability: battery | ||
version: 1 | ||
- component: button1 | ||
capability: button | ||
version: 1 | ||
- component: button2 | ||
capability: button | ||
version: 1 | ||
- component: button3 | ||
capability: button | ||
version: 1 | ||
actions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.