Skip to content

Commit

Permalink
Update embedded device configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Hunsup Jung <[email protected]>
  • Loading branch information
HunsupJung committed Dec 18, 2024
1 parent a9076ea commit 7fa18a8
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 6 deletions.
96 changes: 93 additions & 3 deletions drivers/SmartThings/matter-rvc/profiles/rvc-clean-mode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,96 @@ components:
version: 1
categories:
- name: RobotCleaner
metadata:
mnmn: SmartThingsEdge
vid: generic-rvc
deviceConfig:
dashboard:
states:
- component: main
capability: robotCleanerOperatingState
version: 1
detailView:
- component: main
capability: robotCleanerOperatingState
version: 1
- component: runMode
capability: mode
version: 1
patch:
- op: replace
path: /0/list/command/supportedValues
value: supportedArguments.value
- component: cleanMode
capability: mode
version: 1
patch:
- op: replace
path: /0/list/command/supportedValues
value: supportedArguments.value
- component: main
capability: refresh
version: 1
- component: main
capability: firmwareUpdate
version: 1
automation:
conditions:
- component: runMode
capability: mode
version: 1
patch:
- op: replace
path: /0/displayType
value: dynamicList
- op: add
path: /0/dynamicList
value:
value: mode.value
supportedValues:
value: supportedModes.value
- op: remove
path: /0/list
- component: cleanMode
capability: mode
version: 1
patch:
- op: replace
path: /0/displayType
value: dynamicList
- op: add
path: /0/dynamicList
value:
value: mode.value
supportedValues:
value: supportedModes.value
- op: remove
path: /0/list
actions:
- component: runMode
capability: mode
version: 1
patch:
- op: replace
path: /0/displayType
value: dynamicList
- op: add
path: /0/dynamicList
value:
command: setMode
supportedValues:
value: supportedModes.value
- op: remove
path: /0/list
- component: cleanMode
capability: mode
version: 1
patch:
- op: replace
path: /0/displayType
value: dynamicList
- op: add
path: /0/dynamicList
value:
command: setMode
supportedValues:
value: supportedModes.value
- op: remove
path: /0/list
59 changes: 56 additions & 3 deletions drivers/SmartThings/matter-rvc/profiles/rvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,59 @@ components:
version: 1
categories:
- name: RobotCleaner
metadata:
mnmn: SmartThingsEdge
vid: generic-rvc
deviceConfig:
dashboard:
states:
- component: main
capability: robotCleanerOperatingState
version: 1
detailView:
- component: main
capability: robotCleanerOperatingState
version: 1
- component: runMode
capability: mode
version: 1
patch:
- op: replace
path: /0/list/command/supportedValues
value: supportedArguments.value
- component: main
capability: refresh
version: 1
- component: main
capability: firmwareUpdate
version: 1
automation:
conditions:
- component: runMode
capability: mode
version: 1
patch:
- op: replace
path: /0/displayType
value: dynamicList
- op: add
path: /0/dynamicList
value:
value: mode.value
supportedValues:
value: supportedModes.value
- op: remove
path: /0/list
actions:
- component: runMode
capability: mode
version: 1
patch:
- op: replace
path: /0/displayType
value: dynamicList
- op: add
path: /0/dynamicList
value:
command: setMode
supportedValues:
value: supportedModes.value
- op: remove
path: /0/list

0 comments on commit 7fa18a8

Please sign in to comment.