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 authored and Paulus Schoutsen committed 2018-01-05 11:29:15 -08:00
1 parent e81d17dae0
commit 2330268842
1 file changed
+2
@@ -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,
}},