14 baris
427 B
Python
14 baris
427 B
Python
import logging
|
|
|
|
from homeassistant import config_entries
|
|
|
|
_LOGGER = logging.getLogger(__name__)
|
|
|
|
|
|
@config_entries.HANDLERS.register("fontawesome")
|
|
class FontawesomeConfigFlow(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={})
|