mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
Removal of extraneous parenthesis (#33637)
This commit is contained in:
@@ -129,16 +129,14 @@ async def async_get_triggers(hass, device_id):
|
||||
)
|
||||
|
||||
triggers.extend(
|
||||
(
|
||||
{
|
||||
**automation,
|
||||
"platform": "device",
|
||||
"device_id": device_id,
|
||||
"entity_id": entry.entity_id,
|
||||
"domain": DOMAIN,
|
||||
}
|
||||
for automation in templates
|
||||
)
|
||||
{
|
||||
**automation,
|
||||
"platform": "device",
|
||||
"device_id": device_id,
|
||||
"entity_id": entry.entity_id,
|
||||
"domain": DOMAIN,
|
||||
}
|
||||
for automation in templates
|
||||
)
|
||||
|
||||
return triggers
|
||||
|
||||
Reference in New Issue
Block a user