mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
ensure eq bus props are fetched from dataclass
This commit is contained in:
parent
637fe9fb88
commit
2830299942
@ -14,7 +14,7 @@ def channel_bool_prop(param):
|
||||
getattr(self.public_packet, f"{self.identifier}state")[self.index],
|
||||
"little",
|
||||
)
|
||||
& getattr(self._modes, f"_{param}")
|
||||
& getattr(self._modes, f'_{param.replace(".", "_").lower()}')
|
||||
== 0
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user