Issue #30 - security mode Issue #26 - upodate entity on config change Issue #21 - check box to select feature Issue #16 - Suggest/select entity in a list on the configuration screens Issue #5 - Thermostat over climate type
38 lines
703 B
Bash
Executable File
38 lines
703 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# set -x
|
|
|
|
. .bashrc
|
|
|
|
cd $HA
|
|
|
|
echo "arguments are: "$*
|
|
# Post installation of container
|
|
command=$1
|
|
if [ "$command" == "install" ]; then
|
|
echo "Running container post installation"
|
|
script/setup
|
|
fi
|
|
|
|
if [ "$command" == "start" ]; then
|
|
echo "Running container start"
|
|
hass -c ./config --debug
|
|
fi
|
|
|
|
if [ "$command" == "translations" ]; then
|
|
echo "Running container start"
|
|
python3 -m script.translations develop
|
|
fi
|
|
|
|
if [ "$command" == "hassfest" ]; then
|
|
echo "Running container start"
|
|
python3 -m script.hassfest
|
|
fi
|
|
|
|
if [ "$command" == "restart" ]; then
|
|
echo "Killing existing container"
|
|
pkill hass
|
|
echo "Killing existing container"
|
|
hass -c ./config
|
|
fi
|