mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-22 23:17:47 +01:00
Update README.md
Add SP3S
This commit is contained in:
parent
50a8d834bd
commit
cbea05196c
@ -63,6 +63,11 @@ Set power state on a SmartPlug SP2/SP3:
|
||||
devices[0].set_power(True)
|
||||
```
|
||||
|
||||
Get energy state on a SmartPlug SP3:
|
||||
```
|
||||
devices[0].check_energy()
|
||||
```
|
||||
|
||||
Check power state on a SmartPlug:
|
||||
```
|
||||
state = devices[0].check_power()
|
||||
@ -76,4 +81,4 @@ devices[0].set_power(1, True)
|
||||
Check power state on a SmartPowerStrip:
|
||||
```
|
||||
state = devices[0].check_power()
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user