Try cookiecutter

This commit is contained in:
2023-12-26 13:22:45 +01:00
parent 37a641887f
commit bdd99e9374
22 changed files with 54 additions and 48 deletions

View File

@@ -0,0 +1,4 @@
HASS_USERNAME=dev
HASS_PASSWORD=dev
LOVELACE_LOCAL_FILES={{ cookiecutter.project_file }}.js
LOVELACE_PLUGINS="thomasloven/lovelace-card-mod"

View File

@@ -0,0 +1,11 @@
default_config:
demo:
lovelace:
mode: storage
dashboards:
lovelace-yaml:
mode: yaml
title: yaml
filename: test/lovelace.yaml

View 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