We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb922bb commit fcac70eCopy full SHA for fcac70e
PyViCare/PyViCareService.py
@@ -62,3 +62,8 @@ def fetch_all_features(self) -> Any:
62
if self._isGateway():
63
url = f'/features/installations/{self.accessor.id}/gateways/{self.accessor.serial}/features/'
64
return self.oauth_manager.get(url)
65
+
66
+ def reboot_gateway(self) -> Any:
67
+ url = f'/equipment/installations/{self.accessor.id}/gateways/{self.accessor.serial}/reboot'
68
+ data = "{}"
69
+ return self.oauth_manager.post(url, data)
0 commit comments