From 209a0b958f694bd5ad2f0f691bf52893584438bf Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Mon, 9 Mar 2020 11:33:45 +0100 Subject: 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. --- ShellyPy/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ -- cgit v1.2.3