homematic: add username and password to interface config schema (#11214)

Fixes #11191, the json-rpc name resolving method requires user account
and password.
This commit is contained in:
Janne Grunau 2017-12-20 00:38:59 +01:00 committed by Pascal Vizeli
parent 90e25a6dfb
commit b4e2537de3

View file

@ -169,6 +169,8 @@ CONFIG_SCHEMA = vol.Schema({
vol.Optional(CONF_PATH, default=DEFAULT_PATH): cv.string,
vol.Optional(CONF_RESOLVENAMES, default=DEFAULT_RESOLVENAMES):
vol.In(CONF_RESOLVENAMES_OPTIONS),
vol.Optional(CONF_USERNAME, default=DEFAULT_USERNAME): cv.string,
vol.Optional(CONF_PASSWORD, default=DEFAULT_PASSWORD): cv.string,
vol.Optional(CONF_CALLBACK_IP): cv.string,
vol.Optional(CONF_CALLBACK_PORT): cv.port,
}},