Try cookiecutter
This commit is contained in:
4
{{ cookiecutter.project_slug }}/test/.env
Normal file
4
{{ cookiecutter.project_slug }}/test/.env
Normal file
@@ -0,0 +1,4 @@
|
||||
HASS_USERNAME=dev
|
||||
HASS_PASSWORD=dev
|
||||
LOVELACE_LOCAL_FILES={{ cookiecutter.project_file }}.js
|
||||
LOVELACE_PLUGINS="thomasloven/lovelace-card-mod"
|
||||
11
{{ cookiecutter.project_slug }}/test/configuration.yaml
Normal file
11
{{ cookiecutter.project_slug }}/test/configuration.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
default_config:
|
||||
|
||||
demo:
|
||||
|
||||
lovelace:
|
||||
mode: storage
|
||||
dashboards:
|
||||
lovelace-yaml:
|
||||
mode: yaml
|
||||
title: yaml
|
||||
filename: test/lovelace.yaml
|
||||
17
{{ cookiecutter.project_slug }}/test/docker-compose.yml
Normal file
17
{{ cookiecutter.project_slug }}/test/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "3.0"
|
||||
|
||||
services:
|
||||
test:
|
||||
image: thomasloven/hass-custom-devcontainer
|
||||
environment:
|
||||
- HASS_USERNAME
|
||||
- HASS_PASSWORD
|
||||
- LOVELACE_LOCAL_FILES
|
||||
- LOVELACE_PLUGINS
|
||||
volumes:
|
||||
- ./configuration.yaml:/config/configuration.yaml:ro
|
||||
- .:/config/test:ro
|
||||
- ..:/config/www/workspace
|
||||
- ../custom_components,target=/config/custom_components
|
||||
ports:
|
||||
- 8125:8123
|
||||
0
{{ cookiecutter.project_slug }}/test/lovelace.yaml
Normal file
0
{{ cookiecutter.project_slug }}/test/lovelace.yaml
Normal file
Reference in New Issue
Block a user