mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Address late review on Life360 button (#100740)
This commit is contained in:
parent
19854ded16
commit
2ae07096d2
@ -19,12 +19,10 @@ async def async_setup_entry(
|
||||
coordinator: Life360DataUpdateCoordinator = hass.data[DOMAIN].coordinators[
|
||||
config_entry.entry_id
|
||||
]
|
||||
for member_id, member in coordinator.data.members.items():
|
||||
async_add_entities(
|
||||
[
|
||||
Life360UpdateLocationButton(coordinator, member.circle_id, member_id),
|
||||
]
|
||||
)
|
||||
async_add_entities(
|
||||
Life360UpdateLocationButton(coordinator, member.circle_id, member_id)
|
||||
for member_id, member in coordinator.data.members.items()
|
||||
)
|
||||
|
||||
|
||||
class Life360UpdateLocationButton(
|
||||
|
Loading…
x
Reference in New Issue
Block a user