diff --git a/Makefile b/Makefile index a506373..eebb95d 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,7 @@ local_logs: local_ps: $(DC) ps + +local_stop: + $(DC) stop + diff --git a/api/src/hass_config/__init__.py b/api/src/hass_config/__init__.py index 0acfaaa..2e909c7 100644 --- a/api/src/hass_config/__init__.py +++ b/api/src/hass_config/__init__.py @@ -8,7 +8,9 @@ from .loader import HassConfig def find_hass_config() -> HassConfig: """Try to find HASS config.""" if config("USE_EXAMPLE_REPO", False, cast=bool): + print("using USE_EXAMPLE_REPO") from tests.utils import create_copy_of_example_config + return HassConfig(create_copy_of_example_config()) if "HASSIO_TOKEN" in os.environ: diff --git a/webapp/package.json b/webapp/package.json index 329173c..bd58ee3 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -2,7 +2,7 @@ "name": "webapp", "version": "0.1.0", "private": true, - "homepage": "/web", + "homepage": ".", "dependencies": { "@types/jest": "^26.0.15", "@types/node": "^12.0.0", @@ -71,4 +71,4 @@ "@types/js-yaml": "^4.0.5", "ts-node": "^10.4.0" } -} +} \ No newline at end of file diff --git a/webapp/public/index.html b/webapp/public/index.html index d84f0fe..a35c402 100644 --- a/webapp/public/index.html +++ b/webapp/public/index.html @@ -1,21 +1,19 @@ -
- - - - - - - - -