1
0
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:
Igor 2017-09-01 14:27:43 +03:00 committed by GitHub
parent 50a8d834bd
commit cbea05196c

View File

@ -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()
```
```