Removal of extraneous parenthesis (#33637)
This commit is contained in:
parent
7d3c974747
commit
187b6525b4
15 changed files with 59 additions and 80 deletions
|
@ -113,16 +113,14 @@ async def async_get_conditions(
|
|||
)
|
||||
|
||||
conditions.extend(
|
||||
(
|
||||
{
|
||||
**template,
|
||||
"condition": "device",
|
||||
"device_id": device_id,
|
||||
"entity_id": entry.entity_id,
|
||||
"domain": DOMAIN,
|
||||
}
|
||||
for template in templates
|
||||
)
|
||||
{
|
||||
**template,
|
||||
"condition": "device",
|
||||
"device_id": device_id,
|
||||
"entity_id": entry.entity_id,
|
||||
"domain": DOMAIN,
|
||||
}
|
||||
for template in templates
|
||||
)
|
||||
|
||||
return conditions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue