aboutsummaryrefslogtreecommitdiff
path: root/ParrotZik.py
diff options
context:
space:
mode:
Diffstat (limited to 'ParrotZik.py')
-rw-r--r--ParrotZik.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ParrotZik.py b/ParrotZik.py
index b327338..a79f410 100644
--- a/ParrotZik.py
+++ b/ParrotZik.py
@@ -163,13 +163,13 @@ class ParrotZikBase(object):
data.answer.system.anc_phone_mode["enabled"])
@property
- def noise_cancel(self):
+ def cancel_noise(self):
data = self.api.get("/api/audio/noise_cancellation/enabled")
return self._result_to_bool(
data.answer.audio.noise_cancellation["enabled"])
- @noise_cancel.setter
- def noise_cancel(self, arg):
+ @cancel_noise.setter
+ def cancel_noise(self, arg):
self.api.set("/api/audio/noise_cancellation/enabled", arg)
def _result_to_bool(self, result):