fix(home-assistant): Fix invisible items in Automation Dashboard (#1163)

* home-assistant: uncomment default includes

* create include files if they do not exist

* bump home-assistant version
This commit is contained in:
Michael Yang
2021-10-18 01:42:22 -07:00
committed by GitHub
parent 1ffe97601c
commit c359221874
2 changed files with 15 additions and 6 deletions

View File

@@ -29,4 +29,4 @@ sources:
- https://github.com/home-assistant/home-assistant
- https://github.com/cdr/code-server
type: application
version: 8.2.2
version: 8.2.3

View File

@@ -27,6 +27,16 @@ data:
cat /config/init/http.default >> /config/configuration.yaml
fi
echo "Creating include files..."
for include_file in groups.yaml automations.yaml scripts.yaml scenes.yaml; do
if test -f "/config/$include_file"; then
echo "$include_file exists."
else
echo "$include_file does NOT exist."
touch "/config/$include_file"
fi
done
cd "/config" || echo "Could not change path to /config"
echo "Creating custom_components directory..."
mkdir "/config/custom_components" || echo "custom_components directory already exists"
@@ -60,11 +70,10 @@ data:
tts:
- platform: google_translate
# Example Includes
# group: !include groups.yaml
# automation: !include automations.yaml
# script: !include scripts.yaml
# scene: !include scenes.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
recorder.default: |-
recorder: