8 lines
399 B
Bash
8 lines
399 B
Bash
#!/usr/bin/env bash
|
|
echo "Copy configuration.yaml"
|
|
cp -f .devcontainer/configuration.yaml /config || echo ".devcontainer/configuration.yaml are missing!" exit 1
|
|
echo "Copy the custom component"
|
|
rm -R /config/custom_components/ || echo ""
|
|
cp -r custom_components /config/custom_components/ || echo "Could not copy the custom_component" exit 1
|
|
echo "Start Home Assistant"
|
|
hass -c /config |