-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use same syntax as Pronote to use Pronote cards
use same syntax as Pronote to use Pronote cards use snake_case add comment to class, methods, etc. fix homeworks
- Loading branch information
Showing
7 changed files
with
339 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,54 @@ | ||
# Ecole directe integration for Home Assistant | ||
# Integration Ecole directe pour Home Assistant | ||
|
||
![Version](https://img.shields.io/github/v/release/hacf-fr/hass-ecoledirecte?label=version) | ||
![Version](https://img.shields.io/github/v/release/hacf-fr/hass-ecoledirecte?label=version) [![HACS: Custom](https://img.shields.io/badge/HACS-Custom-orange.svg)](https://github.com/custom-components/hacs) | ||
|
||
### Manual install | ||
- [Installation](#Installation) | ||
- [Installation via l'interface utilisateur via HACS](#Installation-via-l'interface-utilisateur-via-HACS) | ||
- [Installation manuelle](<#Installation-manuelle>) | ||
- [Configuration](#Configuration) | ||
- [Utilisation](#Utilisation) | ||
|
||
Copy the `ecole_directe` folder from latest release to the `custom_components` folder in your `config` folder. | ||
Restart Home Assistant | ||
|
||
## Installation | ||
|
||
|
||
### Installation via l'interface utilisateur via HACS | ||
|
||
1. Depuis [HACS](https://hacs.xyz/) (Home Assistant Community Store), sélectionner `Intégrations`. Puis ouvrez le menu en haut à droite et utiliser l'option `Dépôts personnalisés` pour ajouter le dépôt de l'intégration. | ||
|
||
2. Ajoutez l'adresse <https://github.com/hacf-fr/hass-ecoledirecte> avec pour catégorie `Intégration`, et faire `AJOUTER`. Le dépôt apparaît dans la liste. | ||
|
||
3. La carte de ce `nouveau dépôt` va s'afficher, cliquez sur celle-ci puis `Télécharger` en bas à droite. | ||
|
||
4. Laisser le choix de la dernière version et utiliser l'option `Télécharger`. | ||
|
||
5. Il faut ensuite redémarrer Home Assistant. | ||
|
||
|
||
### Installation manuelle | ||
Copier le répertoire ecole_directe de la dernière release dans le répertoire custom_components de votre répertoire config. Redémarrer Home Assistant | ||
|
||
## Configuration | ||
|
||
Click on the following button: | ||
Cliquer sur ce boutton: | ||
[![Open your Home Assistant instance and start setting up a new integration of a specific brand.](https://my.home-assistant.io/badges/brand.svg)](https://my.home-assistant.io/redirect/brand/?brand=ecole_directe) | ||
|
||
Or go to : | ||
Settings > Devices & Sevices > Integrations > Add Integration, and search for "Ecole Directe" | ||
|
||
Use your username and password : | ||
Ou aller dans : | ||
Paramètres > Appareils et services > Intégrations > Ajouter une intégration, et chercher "Ecole Directe" | ||
|
||
Utiliser votre identifiant et mot de passe password : | ||
![Ecole directe config flow](doc/config_flow_username_password.png) | ||
|
||
## Usage | ||
## Utilisation | ||
|
||
This integration provides several sensors, always prefixed with `ecole_directe_FIRSTNAME_LASTNAME` (where `FIRSTNAME` and `LASTNAME` are replaced). | ||
Cette intégration fournit plusieurs entités, toujours prefixées avec `ecole_directe_PRENOM_NOM` (où `PRENOM` et `NOM` sont remplacé). | ||
|
||
|
||
| Sensor | Description | | ||
|--------|-------------| | ||
| `sensor.ecole_directe_FIRSTNAME_LASTNAME` | basic informations about your child | | ||
| `[...]_homework` | homework | | ||
| `[...]_evaluations` | evaluations | | ||
| `sensor.ecole_directe_PRENOM_NOM` | informations basique de l'enfant | | ||
| `[...]_homework` | devoirs | | ||
| `[...]_grades` | notes | | ||
|
||
Les entités sont mises à jour toutes les 30 minutes. | ||
|
||
The sensors are updated every 30 minutes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.