bundles/homeassistant: changes for bookworm
This commit is contained in:
parent
daae710624
commit
10a9e61026
3 changed files with 14 additions and 9 deletions
|
@ -37,6 +37,13 @@ actions = {
|
|||
'needs': {
|
||||
'directory:/opt/homeassistant',
|
||||
'user:homeassistant',
|
||||
},
|
||||
},
|
||||
'homeassistant_install': {
|
||||
'command': 'sudo -u homeassistant /opt/homeassistant/venv/bin/pip install homeassistant',
|
||||
'unless': 'test -f /opt/homeassistant/venv/bin/hass',
|
||||
'needs': {
|
||||
'action:homeassistant_create_virtualenv',
|
||||
'pkg_apt:bluez',
|
||||
'pkg_apt:libffi-dev',
|
||||
'pkg_apt:libssl-dev',
|
||||
|
@ -45,17 +52,10 @@ actions = {
|
|||
'pkg_apt:autoconf',
|
||||
'pkg_apt:build-essential',
|
||||
'pkg_apt:libopenjp2-7',
|
||||
'pkg_apt:libtiff5',
|
||||
'pkg_apt:libtiff6',
|
||||
'pkg_apt:libturbojpeg0-dev',
|
||||
'pkg_apt:tzdata',
|
||||
},
|
||||
},
|
||||
'homeassistant_install': {
|
||||
'command': 'sudo -u homeassistant /opt/homeassistant/venv/bin/pip install homeassistant',
|
||||
'unless': 'test -f /opt/homeassistant/venv/bin/hass',
|
||||
'needs': {
|
||||
'action:homeassistant_create_virtualenv',
|
||||
},
|
||||
'triggers': {
|
||||
'svc_systemd:homeassistant:restart',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue