Use common strings for somfy config flow (#40594)
This commit is contained in:
parent
c011f3fa95
commit
f6435affe9
3 changed files with 6 additions and 4 deletions
|
@ -24,6 +24,6 @@ class SomfyFlowHandler(config_entry_oauth2_flow.AbstractOAuth2FlowHandler):
|
|||
async def async_step_user(self, user_input=None):
|
||||
"""Handle a flow start."""
|
||||
if self.hass.config_entries.async_entries(DOMAIN):
|
||||
return self.async_abort(reason="already_setup")
|
||||
return self.async_abort(reason="single_instance_allowed")
|
||||
|
||||
return await super().async_step_user(user_input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue