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]