-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ThirdReality Driver for Matter Night Light (#1048)
* Add ThirdReality Driver for Matter Night Light * move third reality nl support to subdriver format * rename profile file name -nl to illuminance-motion clean third-reality/init useless code * Add illuminance and motion to base matter-switch driver * Commit:Add colorTemperature range 1000-15000k support in profile * Commit: add new profile loight-color-level-illuminance-motion-1000-15000k;update the fingerptint * Commit: update the file name to be light-color-level-illuminance-motion-1000K-15000K * Commit: update device label by writing out "NL" to "Night Light" * fix unit tests for illiminance motion light --------- Co-authored-by: Zhangyi <[email protected]> Co-authored-by: xdong <[email protected]> Co-authored-by: Cooper Towns <[email protected]> Co-authored-by: lelandblue <[email protected]>
- Loading branch information
1 parent
05b2f3f
commit 561aa74
Showing
5 changed files
with
619 additions
and
1 deletion.
There are no files selected for viewing
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
27 changes: 27 additions & 0 deletions
27
.../SmartThings/matter-switch/profiles/light-color-level-illuminance-motion-1000K-15000K.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,27 @@ | ||
name: light-color-level-illuminance-motion-1000K-15000K | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: switch | ||
version: 1 | ||
- id: switchLevel | ||
version: 1 | ||
- id: colorTemperature | ||
version: 1 | ||
config: | ||
values: | ||
- key: "colorTemperature.value" | ||
range: [ 1000, 15000 ] | ||
- id: colorControl | ||
version: 1 | ||
- id: motionSensor | ||
version: 1 | ||
- id: illuminanceMeasurement | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: Light | ||
|
23 changes: 23 additions & 0 deletions
23
drivers/SmartThings/matter-switch/profiles/light-color-level-illuminance-motion.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,23 @@ | ||
name: light-color-level-illuminance-motion | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: switch | ||
version: 1 | ||
- id: switchLevel | ||
version: 1 | ||
- id: colorTemperature | ||
version: 1 | ||
- id: colorControl | ||
version: 1 | ||
- id: motionSensor | ||
version: 1 | ||
- id: illuminanceMeasurement | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: Light | ||
|
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.