Remove unnecessary instances of dict.keys() (#42518)

This commit is contained in:
springstan 2020-10-28 20:43:48 +01:00 committed by GitHub
parent 6e43d489ca
commit a967f689c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 25 additions and 25 deletions

View file

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