Skip to content

Commit 88fc9f6

Browse files
committed
fix: Expose toggle command for SONOFF ZBMINIR2 #8018
1 parent 843f7a2 commit 88fc9f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/devices/sonoff.ts

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
battery,
1111
binary,
1212
bindCluster,
13+
commandsOnOff,
1314
customTimeResponse,
1415
deviceAddCustomCluster,
1516
enumLookup,
@@ -1189,6 +1190,7 @@ const definitions: DefinitionWithExtend[] = [
11891190
description: 'Zigbee smart switch',
11901191
exposes: [],
11911192
extend: [
1193+
commandsOnOff({commands: ['toggle']}),
11921194
ota(),
11931195
onOff(),
11941196
sonoffExtend.addCustomClusterEwelink(),

0 commit comments

Comments
 (0)