forked from athombv/com.tuya
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request athombv#125 from Drenso/add-default-capabilities
Add a generic set of capabilities to each driver.compose
- Loading branch information
Showing
7 changed files
with
60 additions
and
18 deletions.
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
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 |
---|---|---|
|
@@ -3,5 +3,9 @@ | |
"class": "fan", | ||
"name": { | ||
"en": "Fan" | ||
} | ||
} | ||
}, | ||
"capabilities": [ | ||
"onoff", | ||
"dim" | ||
] | ||
} |
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
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 |
---|---|---|
|
@@ -4,5 +4,8 @@ | |
"name": { | ||
"en": "Door Sensor", | ||
"nl": "Deur Sensor" | ||
} | ||
} | ||
}, | ||
"capabilities": [ | ||
"alarm_contact" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -4,5 +4,8 @@ | |
"name": { | ||
"en": "Motion Sensor", | ||
"nl": "Bewegingssensor" | ||
} | ||
} | ||
}, | ||
"capabilities": [ | ||
"alarm_motion" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -4,5 +4,8 @@ | |
"name": { | ||
"en": "Smoke Detector", | ||
"nl": "Rookmelder" | ||
} | ||
} | ||
}, | ||
"capabilities": [ | ||
"alarm_smoke" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -4,5 +4,9 @@ | |
"name": { | ||
"en": "Plug", | ||
"nl": "Plug" | ||
} | ||
} | ||
}, | ||
"capabilities": [ | ||
"onoff", | ||
"measure_power" | ||
] | ||
} |