about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorVictor Ferrer <victorfergar@gmail.com>2016-12-04T00·50+0100
committerMatthew Garrett <mjg59@coreos.com>2016-12-25T10·59+0000
commitd519623dd4507d3648bd361b4507171b98d330df (patch)
tree9bfa4d3e40c6e1aff71315f986bb6c8e997f08d5 /README.md
parent83f1c3fc93344c0264223fbf37ac0198626e006b (diff)
Add new device support: Broadlink MP1 Smart power strip
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 47a4691f51bd..3d7598f5d88c 100644
--- a/README.md
+++ b/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()
+```
\ No newline at end of file