Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Oct 13, 2023
1 parent 1a86e44 commit 58fe162
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wideboy/scenes/default/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ def setup(self):
icon_color=Color(192, 192, 192, 255),
template="{{ states('sensor.delta_2_max_downstairs_battery_level') | int }}%",
),
dict(
entity_id="sensor.delta_2_max_downstairs_cycles",
icon=MaterialIcons.MDI_LOOP,
icon_color=Color(192, 192, 192, 255),
template="{{ states('sensor.delta_2_max_downstairs_cycles') | int }}"
),
dict(
entity_id="sensor.delta_2_max_downstairs_discharge_remaining_time",
icon=MaterialIcons.MDI_HOURGLASS,
Expand All @@ -274,6 +280,7 @@ def setup(self):
)
]


self.hass_row_battery = HomeAssistantEntityRowSprite(
self,
Rect(512, 48, 128, 16),
Expand Down
1 change: 1 addition & 0 deletions wideboy/sprites/image_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class MaterialIcons:
MDI_CALENDAR_TODAY = 0xE935
MDI_LIGHT_MODE = 0xE518
MDI_SCHEDULE = 0xE8B5
MDI_LOOP = 0xE028


def render_material_icon(
Expand Down

0 comments on commit 58fe162

Please sign in to comment.