mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Add default URL to zwave_js config flow (#45366)
This commit is contained in:
parent
7a01d33814
commit
0f5a3c4359
@ -16,7 +16,9 @@ from .const import DOMAIN, NAME # pylint:disable=unused-import
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
STEP_USER_DATA_SCHEMA = vol.Schema({CONF_URL: str})
|
||||
DEFAULT_URL = "ws://localhost:3000"
|
||||
|
||||
STEP_USER_DATA_SCHEMA = vol.Schema({vol.Required(CONF_URL, default=DEFAULT_URL): str})
|
||||
|
||||
|
||||
async def validate_input(hass: core.HomeAssistant, user_input: dict) -> VersionInfo:
|
||||
|
Loading…
x
Reference in New Issue
Block a user