Removal of extraneous parenthesis (#33637)

This commit is contained in:
Franck Nijhof 2020-04-04 20:08:55 +02:00 committed by GitHub
parent 7d3c974747
commit 187b6525b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 59 additions and 80 deletions

View file

@ -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