mirror of
https://github.com/Crocmagnon/plant-badger.git
synced 2024-12-27 09:51:48 +01:00
Fix plant image not displayed #4
This commit is contained in:
parent
c4afe412cf
commit
1e7a54c8d6
1 changed files with 5 additions and 0 deletions
|
@ -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"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue