-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added 2 new thermostat capabilities
`thermostatMode` `thermostatOperatingState` resolves #2
- Loading branch information
Showing
13 changed files
with
229 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# https://developer.smartthings.com/docs/devices/device-profiles#categories | ||
# https://community.smartthings.com/t/change-icons-in-new-app/184190/25?u=w35l3y | ||
name: "child-thermostatMode-v1" | ||
components: | ||
- id: main | ||
label: Mode | ||
capabilities: | ||
- id: thermostatMode | ||
version: 1 | ||
config: | ||
values: | ||
- key: thermostatMode.value #read | ||
enabledValues: | ||
- manual | ||
- heat | ||
- away | ||
- auto | ||
- eco | ||
- custom | ||
- key: setThermostatMode #write | ||
enabledValues: | ||
- manual | ||
- heat | ||
- away | ||
- auto | ||
- eco | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: Thermostat | ||
metadata: | ||
deviceType: Thermostat | ||
ocfDeviceType: oic.d.thermostat | ||
deviceTypeId: Thermostat | ||
mnmn: SmartThingsCommunity | ||
owner: | ||
ownerType: USER | ||
ownerId: ea35e8c8-3aef-2f72-958b-e3ad10644043 |
21 changes: 21 additions & 0 deletions
21
personal-tuya-devices/profiles/child-thermostatOperatingState.yaml
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,21 @@ | ||
# https://developer.smartthings.com/docs/devices/device-profiles#categories | ||
# https://community.smartthings.com/t/change-icons-in-new-app/184190/25?u=w35l3y | ||
name: "child-thermostatOperatingState-v1" | ||
components: | ||
- id: main | ||
label: Operating State | ||
capabilities: | ||
- id: thermostatOperatingState | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: Thermostat | ||
metadata: | ||
deviceType: Thermostat | ||
ocfDeviceType: oic.d.thermostat | ||
deviceTypeId: Thermostat | ||
mnmn: SmartThingsCommunity | ||
owner: | ||
ownerType: USER | ||
ownerId: ea35e8c8-3aef-2f72-958b-e3ad10644043 |
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
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
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
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
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