mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 06:20:07 +00:00
Removal of extraneous parenthesis (#33637)
This commit is contained in:
@@ -186,15 +186,13 @@ async def _async_get_automations(
|
||||
|
||||
for entry in entries:
|
||||
automations.extend(
|
||||
(
|
||||
{
|
||||
**template,
|
||||
"device_id": device_id,
|
||||
"entity_id": entry.entity_id,
|
||||
"domain": domain,
|
||||
}
|
||||
for template in automation_templates
|
||||
)
|
||||
{
|
||||
**template,
|
||||
"device_id": device_id,
|
||||
"entity_id": entry.entity_id,
|
||||
"domain": domain,
|
||||
}
|
||||
for template in automation_templates
|
||||
)
|
||||
|
||||
return automations
|
||||
|
||||
Reference in New Issue
Block a user