Launch stability fixes
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import logging
|
||||
from homeassistant import config_entries
|
||||
|
||||
from .const import DOMAIN
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@config_entries.HANDLERS.register(DOMAIN)
|
||||
class BrowserModConfigFlow(config_entries.ConfigFlow):
|
||||
@@ -11,4 +14,5 @@ class BrowserModConfigFlow(config_entries.ConfigFlow):
|
||||
async def async_step_user(self, user_input=None):
|
||||
if self._async_current_entries():
|
||||
return self.async_abort(reason="single_instance_allowed")
|
||||
return self.async_create_entry(title="", data={})
|
||||
_LOGGER.error("Running async_create_entry")
|
||||
return self.async_create_entry(title="Browser Mod", data={})
|
||||
|
||||
Reference in New Issue
Block a user