From cbea05196cbe3b36125ec414ac87606f6dd81a49 Mon Sep 17 00:00:00 2001 From: Igor <31536852+hunter2409@users.noreply.github.com> Date: Fri, 1 Sep 2017 14:27:43 +0300 Subject: [PATCH] Update README.md Add SP3S --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1305ea0..ae6cf25 100644 --- a/README.md +++ b/README.md @@ -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() -``` \ No newline at end of file +```