Update HASS Configurator to 0.2.5 (#238)

* Update map.py

* Update config.json

* Update CHANGELOG.md

* Update config.json

* Update map.py

* Update map.py
This commit is contained in:
Daniel Perna
2018-01-29 11:47:59 +01:00
committed by Pascal Vizeli
parent e465bdc45f
commit 417cc7dda2
3 changed files with 13 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ with hassio_options.open('r') as json_file:
configurator = {
'BASEPATH': "/config",
'HASS_API': "http://hassio/homeassistant/api/",
'HASS_API_PASSWORD': os.environ.get('API_TOKEN'),
'HASS_API_PASSWORD': os.environ.get('HASSIO_TOKEN', ''),
'CREDENTIALS':
"{}:{}".format(options['username'], options['password']),
'SSL_CERTIFICATE':
@@ -25,6 +25,7 @@ configurator = {
'IGNORE_PATTERN': options['ignore_pattern'],
'BANLIMIT': options['banlimit'],
'DIRSFIRST': options['dirsfirst'],
'SESAME': options.get('sesame'),
}
with Path(sys.argv[1]).open('w') as json_file: