语言
Service tree
开关#2 · switch属性 2动作 1
开关
#2 · switch
Properties
开关状态
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
无线开关功能
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0普通开关1无线开关2凌动和无线开关
Actions
开关状态切换
#1 · toggle
开关传感器#3 · switch-sensor事件 3
开关传感器
#3 · switch-sensor
Events
单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
