Skip to content

Commit 7ba5674

Browse files
committed
Pre-fill the username with "smile"
1 parent a826e53 commit 7ba5674

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

custom_components/plugwise/config_flow.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ def _base_schema(discovery_info):
3636
base_schema[vol.Required(CONF_HOST)] = str
3737

3838
base_schema.update(
39-
{vol.Required(CONF_USERNAME): str, vol.Required(CONF_PASSWORD): str}
39+
{
40+
vol.Required(
41+
CONF_USERNAME, description={"suggested_value": "smile"}
42+
): str,
43+
vol.Required(CONF_PASSWORD): str
44+
}
4045
)
4146

4247
return vol.Schema(base_schema)

0 commit comments

Comments
 (0)