From 1e7a54c8d61ad991c39d1c1fdec8eb06c9cc96ce Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 13 Mar 2023 22:20:14 +0100 Subject: [PATCH] Fix plant image not displayed #4 --- src/apps/plant.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/plant.py b/src/apps/plant.py index 98b02af..d6b3647 100644 --- a/src/apps/plant.py +++ b/src/apps/plant.py @@ -130,6 +130,11 @@ class HAPlant: print(self.details) def display_state(self): + display.set_pen(WHITE) + display.clear() + + display_image() + # Write text in header display_header(self.get_plant_attribute("friendly_name"))