mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Fix explict return in tesla config flow (#46377)
This commit is contained in:
parent
29d8b8a22f
commit
f9f4c0aeed
@ -106,6 +106,7 @@ class TeslaConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
for entry in self._async_current_entries():
|
||||
if entry.data.get(CONF_USERNAME) == username:
|
||||
return entry
|
||||
return None
|
||||
|
||||
|
||||
class OptionsFlowHandler(config_entries.OptionsFlow):
|
||||
|
Loading…
x
Reference in New Issue
Block a user