We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149e01a commit 2b84d9dCopy full SHA for 2b84d9d
custom_components/healthchecksio/__init__.py
@@ -193,5 +193,4 @@ async def check_files(hass: core.HomeAssistant) -> bool:
193
if missing:
194
_LOGGER.critical(f"The following files are missing: {missing}")
195
return False
196
- else:
197
- return True
+ return True
custom_components/healthchecksio/config_flow.py
@@ -94,9 +94,7 @@ def __init__(self):
94
95
async def async_step_user(self, user_input=None, errors=None):
96
self._errors = {}
97
- if self._async_current_entries():
98
- return self.async_abort(reason="single_instance_allowed")
99
- if self.hass.data.get(DOMAIN):
+ if self._async_current_entries() or self.hass.data.get(DOMAIN):
100
return self.async_abort(reason="single_instance_allowed")
101
102
if user_input is not None:
0 commit comments