Skip to content

Commit 3d54260

Browse files
committed
missing images
1 parent 0c707b3 commit 3d54260

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

custom_components/liebherr/image.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ async def async_setup_entry(
2626
hass: HomeAssistant, config_entry: LiebherrConfigEntry, async_add_entities
2727
):
2828
"""Set up Liebherr switches from a config entry."""
29-
30-
for device in config_entry.runtime_data.data:
31-
async_add_entities([LiebherrImage(hass, device)])
32-
break
29+
30+
async_add_entities(
31+
[LiebherrImage(hass, device) for device in config_entry.runtime_data.data]
32+
)
3333

3434

3535
class LiebherrImage(ImageEntity):

0 commit comments

Comments
 (0)