Skip to content

Commit d91c463

Browse files
authored
Merge pull request #2476 from SmartThingsCommunity/add-rvc-caps-folder
Matter RVC: Include capabilities file for test file. Related to failures in #2443
2 parents 8f5e3b3 + 6e241f1 commit d91c463

File tree

2 files changed

+109
-0
lines changed

2 files changed

+109
-0
lines changed
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
name: Robot Cleaner Operating State
2+
status: live
3+
attributes:
4+
operatingState:
5+
schema:
6+
type: object
7+
additionalProperties: false
8+
properties:
9+
value:
10+
type: string
11+
enum:
12+
- stopped
13+
- running
14+
- paused
15+
- seekingCharger
16+
- charging
17+
- docked
18+
- unableToStartOrResume
19+
- unableToCompleteOperation
20+
- commandInvalidInState
21+
- failedToFindChargingDock
22+
- stuck
23+
- dustBinMissing
24+
- dustBinFull
25+
- waterTankEmpty
26+
- waterTankMissing
27+
- waterTankLidOpen
28+
- mopCleaningPadMissing
29+
required:
30+
- value
31+
enumCommands:
32+
- command: start
33+
value: running
34+
- command: pause
35+
value: paused
36+
- command: goHome
37+
value: seekingCharger
38+
actedOnBy:
39+
- start
40+
- pause
41+
- goHome
42+
supportedOperatingStates:
43+
schema:
44+
type: object
45+
additionalProperties: false
46+
properties:
47+
value:
48+
type: array
49+
items:
50+
type: string
51+
enum:
52+
- stopped
53+
- running
54+
- paused
55+
- seekingCharger
56+
- charging
57+
- docked
58+
- unableToStartOrResume
59+
- unableToCompleteOperation
60+
- commandInvalidInState
61+
- failedToFindChargingDock
62+
- stuck
63+
- dustBinMissing
64+
- dustBinFull
65+
- waterTankEmpty
66+
- waterTankMissing
67+
- waterTankLidOpen
68+
- mopCleaningPadMissing
69+
required:
70+
- value
71+
supportedCommands:
72+
schema:
73+
type: object
74+
additionalProperties: false
75+
properties:
76+
value:
77+
type: array
78+
items:
79+
type: string
80+
enum:
81+
- start
82+
- pause
83+
- goHome
84+
supportedOperatingStateCommands:
85+
schema:
86+
type: object
87+
additionalProperties: false
88+
properties:
89+
value:
90+
type: array
91+
items:
92+
type: string
93+
enum:
94+
- start
95+
- pause
96+
- goHome
97+
commands:
98+
start:
99+
arguments: []
100+
name: start
101+
pause:
102+
arguments: []
103+
name: pause
104+
goHome:
105+
arguments: []
106+
name: goHome
107+
id: robotCleanerOperatingState
108+
version: 1

drivers/SmartThings/matter-rvc/src/test/test_matter_rvc.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ local capabilities = require "st.capabilities"
1717
local t_utils = require "integration_test.utils"
1818
local clusters = require "st.matter.clusters"
1919
local version = require "version"
20+
test.add_package_capability("robotCleanerOperatingState.yml")
2021

2122
if version.api < 10 then
2223
clusters.RvcCleanMode = require "RvcCleanMode"

0 commit comments

Comments
 (0)