From 86aca0935e62830a65fa9e0471b564923e5eff70 Mon Sep 17 00:00:00 2001 From: ewilly Date: Fri, 14 Aug 2020 09:03:45 +0200 Subject: [PATCH] Fix vs HA 0.114 --- conf/homeassistant_conf_files/ui-lovelace.yaml | 13 +++++++++++++ conf/systemd.service | 1 + 2 files changed, 14 insertions(+) create mode 100644 conf/homeassistant_conf_files/ui-lovelace.yaml diff --git a/conf/homeassistant_conf_files/ui-lovelace.yaml b/conf/homeassistant_conf_files/ui-lovelace.yaml new file mode 100644 index 0000000..284a3de --- /dev/null +++ b/conf/homeassistant_conf_files/ui-lovelace.yaml @@ -0,0 +1,13 @@ +title: Home +views: + - path: default_view + title: Home + badges: + - entity: sun.sun + cards: + - type: entities + entities: + - sensor.current_version + - sensor.latest_available_version + - switch.upgrade_homeassistant + title: Home Assistant diff --git a/conf/systemd.service b/conf/systemd.service index e5f3a3c..cd202d9 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -5,6 +5,7 @@ After=network-online.target [Service] Type=simple User=homeassistant +WorkingDirectory=/home/homeassistant/.homeassistant ExecStart=/opt/yunohost/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant" [Install]