aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-03-09 11:33:45 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-03-09 11:33:45 +0100
commit209a0b958f694bd5ad2f0f691bf52893584438bf (patch)
tree294aec8d0b17734980af8e06e285fcf57c4a43e0
parent3f004000e56a72668b4298c4d6247ad189557623 (diff)
downloadShellyPy-209a0b958f694bd5ad2f0f691bf52893584438bf.tar.gz
ShellyPy-209a0b958f694bd5ad2f0f691bf52893584438bf.zip
Fix mistake in Shelly.status method
the status method was incorrectly calling the /update endpoint which doesn't exist on any Shelly device I am aware of. The correct endpoint is /status and the method has been updated to reflect that.
-rw-r--r--ShellyPy/wrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellyPy/wrapper.py b/ShellyPy/wrapper.py
index 25d0056..0ede3b1 100644
--- a/ShellyPy/wrapper.py
+++ b/ShellyPy/wrapper.py
@@ -110,7 +110,7 @@ class Shelly:
@return status dict
"""
- return self.post("update")
+ return self.post("status")
def settings(self, subpage = None):
"""