Skip to content

Commit

Permalink
fix battery image for PV page
Browse files Browse the repository at this point in the history
  • Loading branch information
gickowtf committed Mar 15, 2024
1 parent a1d00b9 commit a401dc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions custom_components/divoom_pixoo/pages/solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def solar(pixoo, hass, page_data, FONT_PICO_8, FONT_GICKO):
image_folder = "/config/custom_components/divoom_pixoo/img/"

battery_images = [
(image_folder + "akku00-20.png", 0),
(image_folder + "akku20-40.png", 20),
(image_folder + "akku40-60.png", 40),
(image_folder + "akku80-100.png", 80),
(image_folder + "akku60-80.png", 60),
(image_folder + "akku80-100.png", 80)
]
(image_folder + "akku40-60.png", 40),
(image_folder + "akku20-40.png", 20),
(image_folder + "akku00-20.png", 0)
]

green = (4, 204, 2) #discharge
red = (255, 0, 68) #discharge
Expand Down

0 comments on commit a401dc6

Please sign in to comment.