Fix http/zwave being too strict on the config
parent
b04d6f94e6
commit
ba9f29a04b
|
@ -123,7 +123,7 @@ def setup(hass, config=None):
|
|||
|
||||
server_port = config[DOMAIN].get(CONF_SERVER_PORT, SERVER_PORT)
|
||||
|
||||
development = config[DOMAIN].get(CONF_DEVELOPMENT, "") == "1"
|
||||
development = str(config[DOMAIN].get(CONF_DEVELOPMENT, "")) == "1"
|
||||
|
||||
server = HomeAssistantHTTPServer(
|
||||
(server_host, server_port), RequestHandler, hass, api_password,
|
||||
|
|
|
@ -67,7 +67,7 @@ def setup(hass, config):
|
|||
from openzwave.option import ZWaveOption
|
||||
from openzwave.network import ZWaveNetwork
|
||||
|
||||
use_debug = config[DOMAIN].get(CONF_DEBUG) == '1'
|
||||
use_debug = str(config[DOMAIN].get(CONF_DEBUG)) == '1'
|
||||
|
||||
# Setup options
|
||||
options = ZWaveOption(
|
||||
|
|
Loading…
Reference in New Issue