aboutsummaryrefslogtreecommitdiff
path: root/ParrotZik.py
diff options
context:
space:
mode:
Diffstat (limited to 'ParrotZik.py')
-rw-r--r--ParrotZik.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ParrotZik.py b/ParrotZik.py
index af20b52..fe5c911 100644
--- a/ParrotZik.py
+++ b/ParrotZik.py
@@ -203,7 +203,7 @@ class ParrotZikVersion2(ParrotZikBase):
@flight_mode.setter
def flight_mode(self, arg):
- self.api.set('/api/flight_mode/enable', arg)
+ self.api.set('/api/flight_mode/set', arg)
@property
def room_size(self):