diff --git a/.github/workflows/package_linter.yml b/.github/workflows/package_linter.yml index 625631c..576e4a5 100644 --- a/.github/workflows/package_linter.yml +++ b/.github/workflows/package_linter.yml @@ -4,14 +4,10 @@ on: # Allow to manually trigger the workflow workflow_dispatch: push: - branches: - - master-promotion pull_request: - schedule: - - cron: '0 8 * * *' jobs: - packageLinter: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -24,7 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install toml + pip install toml pyparsing six - name: 'Clone YunoHost apps package linter' run: | diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..3eeb161 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,5 @@ # All available README files by language - [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) -- [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) diff --git a/README.md b/README.md index 2f94515..a376ac3 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Home Assistant with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=homeassistant) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Home Assistant quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* @@ -28,7 +28,7 @@ Home Assistant is an open source home automation that puts local control and pri - Home Energy Management." -**Shipped version:** 2024.3.3~ynh1 +**Shipped version:** 2024.3.3~ynh2 **Demo:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..a8cff23 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,59 @@ + + +# Home Assistant YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/homeassistant.svg)](https://dash.yunohost.org/appci/app/homeassistant) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/homeassistant.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/homeassistant.maintain.svg) + +[![Instalatu Home Assistant YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=homeassistant) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Home Assistant YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Home Assistant is an open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. + +### Features + +- Works with over 1000 brands ; +- Powerful automations ; +- Extend your system with add-ons ; +- All your smart home data stays local ; +- Companion Mobile Apps ; +- Home Energy Management." + + +**Paketatutako bertsioa:** 2024.3.3~ynh2 + +**Demoa:** + +## Pantaila-argazkiak + +![Home Assistant(r)en pantaila-argazkia](./doc/screenshots/screenshot1.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/homeassistant_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/homeassistant_ynh/tree/testing --debug +edo +sudo yunohost app upgrade homeassistant -u https://github.com/YunoHost-Apps/homeassistant_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index c9aa37f..f172762 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ Home Assistant zst une application domotique open source qui donne la priorité - Applications mobiles compagnons ; - Gestion de l'énergie domestique. -**Version incluse :** 2024.3.3~ynh1 +**Version incluse :** 2024.3.3~ynh2 **Démo :** diff --git a/manifest.toml b/manifest.toml index a65ca9c..7c50e6d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Home Assistant" description.en = "Home automation platform" description.fr = "Plateforme domotique" -version = "2024.3.3~ynh1" +version = "2024.3.3~ynh2" maintainers = ["ewilly"] diff --git a/scripts/_common.sh b/scripts/_common.sh index ac2acdd..f67ff24 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -189,4 +189,11 @@ myynh_set_permissions () { [ ! -e "$(dirname "$log_file")" ] || chown -R $app: "$(dirname "$log_file")" [ ! -e "/etc/sudoers.d/$app" ] || chown -R root: "/etc/sudoers.d/$app" + + # Upgade user groups + user_groups="" + [ $(getent group dialout) ] && user_groups="${user_groups} dialout" + [ $(getent group gpio) ] && user_groups="${user_groups} gpio" + [ $(getent group i2c) ] && user_groups="${user_groups} i2c" + ynh_system_user_create --username="$app" --groups="$user_groups" }