Remove unnecessary instances of dict.keys() (#42518)
This commit is contained in:
1 parent
6e43d489ca
commit
a967f689c7
21 files changed
+25
-25
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user