1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 07:08:20 +00:00

Fix Hass.io requirements script

This commit is contained in:
Otto Winter 2018-12-05 22:35:35 +01:00
parent e94f87b17d
commit d8975c60fe

View File

@ -19,7 +19,7 @@ if hass.config.true 'ssl'; then
if ! hass.file_exists "/ssl/$(hass.config.get 'certfile')"; then if ! hass.file_exists "/ssl/$(hass.config.get 'certfile')"; then
if ! hass.file_exists "/ssl/$(hass.config.get 'keyfile')"; then if ! hass.file_exists "/ssl/$(hass.config.get 'keyfile')"; then
# Both files are missing, let's print a friendlier error message # Both files are missing, let's print a friendlier error message
text = "You enabled encrypted connections using the \"ssl\": true option. text="You enabled encrypted connections using the \"ssl\": true option.
However, the SSL files \"$(hass.config.get 'certfile')\" and \"$(hass.config.get 'keyfile')\" However, the SSL files \"$(hass.config.get 'certfile')\" and \"$(hass.config.get 'keyfile')\"
were not found. If you're using Hass.io on your local network and don't want were not found. If you're using Hass.io on your local network and don't want
to encrypt connections to the esphomeyaml dashboard, you can manually disable to encrypt connections to the esphomeyaml dashboard, you can manually disable