1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Merge pull request #312 from YunoHost-Apps/master-promotion

Upgrade master from testing
This commit is contained in:
ewilly 2024-04-01 19:31:07 +00:00 committed by GitHub
commit fe1af38e97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 73 additions and 12 deletions

View file

@ -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: |

View file

@ -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)

View file

@ -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:** <https://demo.home-assistant.io>

59
README_eu.md Normal file
View file

@ -0,0 +1,59 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# 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:** <https://demo.home-assistant.io>
## Pantaila-argazkiak
![Home Assistant(r)en pantaila-argazkia](./doc/screenshots/screenshot1.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://www.home-assistant.io>
- Administratzaileen dokumentazio ofiziala: <https://www.home-assistant.io/docs/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/home-assistant/core>
- YunoHost Denda: <https://apps.yunohost.org/app/homeassistant>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/homeassistant_ynh/issues>
## 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:** <https://yunohost.org/packaging_apps>

View file

@ -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:** <https://demo.home-assistant.io>

View file

@ -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"]

View file

@ -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"
}