ensure eq bus props are fetched from dataclass

This commit is contained in:
onyx-and-iris 2022-04-29 20:52:03 +01:00
parent 637fe9fb88
commit 2830299942

View File

@ -14,7 +14,7 @@ def channel_bool_prop(param):
getattr(self.public_packet, f"{self.identifier}state")[self.index], getattr(self.public_packet, f"{self.identifier}state")[self.index],
"little", "little",
) )
& getattr(self._modes, f"_{param}") & getattr(self._modes, f'_{param.replace(".", "_").lower()}')
== 0 == 0
) )