Upgrade pyupgrade to 2.21.2, apply its changes (#52987)
This commit is contained in:
parent
c96f01df1f
commit
470f2dd73f
73 changed files with 152 additions and 162 deletions
|
@ -50,10 +50,10 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
async_dispatcher_connect(hass, f"{WEMO_DOMAIN}.light", _discovered_wemo)
|
||||
|
||||
await asyncio.gather(
|
||||
*[
|
||||
*(
|
||||
_discovered_wemo(device)
|
||||
for device in hass.data[WEMO_DOMAIN]["pending"].pop("light")
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue