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
|
@ -114,6 +114,6 @@ async def async_setup(hass: HomeAssistantType, config: ConfigType) -> bool:
|
|||
"Error running command: `%s`, return code: %s", cmd, process.returncode
|
||||
)
|
||||
|
||||
for name in conf.keys():
|
||||
for name in conf:
|
||||
hass.services.async_register(DOMAIN, name, async_service_handler)
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue