mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Host should be optional for apcupsd component (#3072)
This commit is contained in:
parent
0943cc78cd
commit
dfee443312
@ -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…
x
Reference in New Issue
Block a user