diff --git a/oin_thermostat/screen.py b/oin_thermostat/screen.py index 9a32a95..e28b143 100644 --- a/oin_thermostat/screen.py +++ b/oin_thermostat/screen.py @@ -9,7 +9,7 @@ logger = logging.getLogger(__name__) COLORS = { "Bleu": [0, 0, 255], - "Blanc": [0, 0, 0], + "Blanc": [255, 255, 255], "Rouge": [255, 0, 0], "Verte": [0, 127, 31], "Jaune": [255, 255, 0], @@ -108,10 +108,6 @@ class Screen: def secondary(self): return self._secondary - @property - def secondary_pixels(self): - return self._secondary_pixels - @secondary.setter def secondary(self, value): self._secondary = value @@ -124,6 +120,10 @@ class Screen: if not self._tmp: self.set_pixels() + @property + def secondary_pixels(self): + return self._secondary_pixels + def stick_click(self, event): match (event.action, self._held): case ("held", False):