mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fixed http being too strict on the api_password config
This commit is contained in:
parent
43f0014200
commit
0f1307cd81
@ -111,7 +111,7 @@ def setup(hass, config=None):
|
||||
if config is None or DOMAIN not in config:
|
||||
config = {DOMAIN: {}}
|
||||
|
||||
api_password = config[DOMAIN].get(CONF_API_PASSWORD)
|
||||
api_password = str(config[DOMAIN].get(CONF_API_PASSWORD))
|
||||
|
||||
no_password_set = api_password is None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user