mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2026-04-18 05:23:32 +00:00
mute prop added to dca class
mute tests added patch bump
This commit is contained in:
@@ -37,6 +37,14 @@ class DCA(IDCA):
|
||||
def on(self, val: bool):
|
||||
self.setter("on", 1 if val else 0)
|
||||
|
||||
@property
|
||||
def mute(self) -> bool:
|
||||
return not self.on
|
||||
|
||||
@mute.setter
|
||||
def mute(self, val: bool):
|
||||
self.on = not val
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return self.getter("config/name")[0]
|
||||
|
||||
Reference in New Issue
Block a user