Fix http/zwave being too strict on the config

pull/47/head
Paulus Schoutsen 2015-03-05 20:43:20 -08:00
parent b04d6f94e6
commit ba9f29a04b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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(