From 9a09dd335249e8ab2a968258bec2d02d85b63a47 Mon Sep 17 00:00:00 2001 From: thanomichalis <113099585+thanomichalis@users.noreply.github.com> Date: Sat, 13 May 2023 05:29:48 +0300 Subject: [PATCH] Remove sent payload outside if statements (#32) --- ultrasync/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ultrasync/main.py b/ultrasync/main.py index 5391a68..209ca52 100644 --- a/ultrasync/main.py +++ b/ultrasync/main.py @@ -633,9 +633,6 @@ def set_zone_bypass(self, zone, state=False): 'Bypass not implemented for vendor {}'.format(self.vendor)) return False - # Send our response - response = self.__get( - '/user/zonefunction.cgi', payload=payload) if not response: logger.info(