From 606423ccd29f969cfabe66fcbf667c2c74877768 Mon Sep 17 00:00:00 2001 From: Ed Leckert <56356940+EdLeckert@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:46:38 -0600 Subject: [PATCH] Update station.py --- pyopensprinkler/station.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopensprinkler/station.py b/pyopensprinkler/station.py index 93a6eb6..b0f00a2 100644 --- a/pyopensprinkler/station.py +++ b/pyopensprinkler/station.py @@ -65,7 +65,7 @@ def _bit_check(self, bit_property): async def _bit_set(self, bit_property, bit_update_name, value): bits = self._controller._state["stations"][bit_property] - _LOGGER.debug(f"Station {self.name}, _bit_set before: {bits}") + _LOGGER.debug(f"Station {self.name}, _bit_set before: {bits}; type={type(bits)}") bank = math.floor(self._index / 8) bits = list(reversed([int(x) for x in list("{0:08b}".format(bits[bank]))])) position = self._index % 8