Skip to content

Commit 1ae7e40

Browse files
Merge pull request #142 from rafuz/patch-1
Added "sceneSwitch" to capability list
2 parents df80a91 + e6f9f54 commit 1ae7e40

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

smartapps/stj/mqtt-bridge.src/mqtt-bridge.groovy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,13 @@ import groovy.transform.Field
238238
],
239239
action: "actionOnOff"
240240
],
241+
"sceneSwitch": [
242+
name: "Scene Switch",
243+
capability: "capability.switch",
244+
attributes: [
245+
"scene"
246+
]
247+
],
241248
"shockSensor": [
242249
name: "Shock Sensor",
243250
capability: "capability.shockSensor",

0 commit comments

Comments
 (0)