Remove unnecessary instances of dict.keys() (#42518)
This commit is contained in:
parent
6e43d489ca
commit
a967f689c7
21 changed files with 25 additions and 25 deletions
|
@ -160,7 +160,7 @@ async def async_get_triggers(hass, device_id):
|
|||
return
|
||||
|
||||
triggers = []
|
||||
for trigger, subtype in REMOTES[device.model].keys():
|
||||
for trigger, subtype in REMOTES[device.model]:
|
||||
triggers.append(
|
||||
{
|
||||
CONF_DEVICE_ID: device_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue