mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix default value for host in octoprint config flow (#58568)
This commit is contained in:
parent
7a728997bb
commit
6a3c23d02a
@ -22,7 +22,7 @@ from .const import DOMAIN
|
|||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def _schema_with_defaults(username="", host=None, port=80, path="/", ssl=False):
|
def _schema_with_defaults(username="", host="", port=80, path="/", ssl=False):
|
||||||
return vol.Schema(
|
return vol.Schema(
|
||||||
{
|
{
|
||||||
vol.Required(CONF_USERNAME, default=username): cv.string,
|
vol.Required(CONF_USERNAME, default=username): cv.string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user