We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c707b3 commit 3d54260Copy full SHA for 3d54260
1 file changed
custom_components/liebherr/image.py
@@ -26,10 +26,10 @@ async def async_setup_entry(
26
hass: HomeAssistant, config_entry: LiebherrConfigEntry, async_add_entities
27
):
28
"""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
+
+ async_add_entities(
+ [LiebherrImage(hass, device) for device in config_entry.runtime_data.data]
+ )
33
34
35
class LiebherrImage(ImageEntity):
0 commit comments