Host should be optional for apcupsd component (#3072)
This commit is contained in:
parent
0943cc78cd
commit
dfee443312
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ VALUE_ONLINE = 'ONLINE'
|
|||
|
||||
CONFIG_SCHEMA = vol.Schema({
|
||||
DOMAIN: vol.Schema({
|
||||
vol.Required(CONF_HOST, default=DEFAULT_HOST): cv.string,
|
||||
vol.Optional(CONF_HOST, default=DEFAULT_HOST): cv.string,
|
||||
vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
|
||||
}),
|
||||
}, extra=vol.ALLOW_EXTRA)
|
||||
|
|
Loading…
Add table
Reference in a new issue