MIOT HomeMIOT Home
Yeelight智能开关 C1(双键)
#yeelink.switch.szsw2

Yeelight智能开关 C1(双键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-szsw2:1:0000C809
Language
Service tree
Switch Left Key
#2 · switch
2 properties1 actions

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Switch
1Wire Switch

Actions

Toggle
#1 · toggle
Switch Right Key
#3 · switch
2 properties1 actions

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Switch
1Wire Switch

Actions

Toggle
#1 · toggle
Switch Sensor
#8 · switch-sensor
2 events

Events

Left Click
#1 · click
Right Click
#2 · double-click