Add new device support: Broadlink MP1 Smart power strip
This commit is contained in:
parent
83f1c3fc93
commit
d519623dd4
3 changed files with 72 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -53,3 +53,13 @@ Check power state on a SmartPlug:
|
|||
```
|
||||
state = devices[0].check_power()
|
||||
```
|
||||
|
||||
Set power state for S1 on a SmartPowerStrip MP1:
|
||||
```
|
||||
devices[0].set_power(1, True)
|
||||
```
|
||||
|
||||
Check power state on a SmartPowerStrip:
|
||||
```
|
||||
state = devices[0].check_power()
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue