Release 3.6.0 (#134)

* Replace tests at the right place. Add missing config files. Run tests

* FIX merge from #108 have lost some changes

* FIX entity_not found error

* Change port

* Add tests for over switch AC mode

* Issue #133 - Force temperature after off to on transition of over climate

* Build release 3.6.0

---------

Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
Jean-Marc Collin
2023-10-21 23:51:50 +02:00
committed by GitHub
parent eb54f2826f
commit e0f1c968a7
38 changed files with 626 additions and 198 deletions

View File

@@ -4,15 +4,12 @@
. .bashrc
cd $HA
function get_dev() {
cd /workspaces/versatile_thermostat/custom_components/versatile_thermostat/
pip install pytest
pip install -r requirements_dev.txt
pip install -r requirements_test.txt
sudo chown -R vscode: /home/vscode/core
cd -
if [ -d /home/vscode/core ]; then
sudo chown -R vscode: /home/vscode/core
fi
}
echo "arguments are: "$1
@@ -20,8 +17,7 @@ echo "arguments are: "$1
case $1 in
start)
echo "Running container start"
cd $HA
hass -c ./config --debug
./scripts/starts_ha.sh
;;
dev-setup)
get_dev
@@ -43,8 +39,8 @@ case $1 in
restart)
echo "Killing existing container"
pkill hass
echo "Killing existing container"
cd $HA
hass -c ./config
echo "Restarting existing container"
pwd
./scripts/starts_ha.sh
;;
esac