Fix plant image not displayed #4

This commit is contained in:
Gabriel Augendre 2023-03-13 22:20:14 +01:00
parent c4afe412cf
commit 1e7a54c8d6

View file

@ -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"))