about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorTocho Tochev <tocho@tochev.net>2018-04-19T20·45+0300
committerTocho Tochev <tocho@tochev.net>2018-04-19T20·45+0300
commitb2c4bed94a3fb942797bba6c46717edf8187be1f (patch)
tree16f411ea32e1a40ca0695b3c71d23c68da44ce7a /README.md
parent9c238e17174a6ea2b0522e2a4a1ac1552a185c23 (diff)
Add energy option to broadlink_cli
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6cc123696139..74473b8e3063 100644
--- a/README.md
+++ b/README.md
@@ -74,6 +74,11 @@ Check power state on a SmartPlug:
 state = devices[0].check_power()
 ```
 
+Check energy consumption on a SmartPlug:
+```
+state = devices[0].get_energy()
+```
+
 Set power state for S1 on a SmartPowerStrip MP1:
 ```
 devices[0].set_power(1, True)