Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation update #517

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ If you want to help with the development of this integration, you can always sub
application and requesting that they open their API publicly and that they provide a testing environment to the
developers.

You can also find sample automations in YAML format [in the doc/automations directory](https://github.com/dvd-dev/hilo/tree/main/doc/automations)

### Shout out

Big shout out to [Francis Poisson](https://github.com/francispoisson/) who's the original author of this integration. Without the work
Expand Down Expand Up @@ -219,6 +221,8 @@ Other options are available under the `Configure` button in Home Assistant:

You can find multiple examples and ideas for lovelace dashboard, cards and automation here [in the wiki of the project](https://github.com/dvd-dev/hilo/wiki/Utilisation)

You can also find sample automations in YAML format [in the doc/automations directory](https://github.com/dvd-dev/hilo/tree/main/doc/automations)


## References

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Cette intégration n'a aucun liens direct avec Hilo ou Hydro Québec. C'est une

Si vous souhaitez aider avec le développement de cette intégration, vous pouvez toujours soumettre vos commentaires à partir du formulaire de l'app Hilo et demander à ce qu'ils ouvrent leur API publiquement et qu'ils fournissent un environnement de test pour les développeurs.

Vous pouvez également trouver des exemples en format YAML [dans la section doc/automations du projet](https://github.com/dvd-dev/hilo/tree/main/doc/automations)

### Remerciements

Gros merci à [Francis Poisson](https://github.com/francispoisson/) qui est l'auteur de l'intégration originale. Sans le travail qu'il a fait sur cette intégration, je n'aurais probablement jamais considéré utiliser Hilo.
Expand Down Expand Up @@ -201,6 +203,7 @@ D'autres options sont disponibles sous le bouton "Configurer" dans Home Assistan

Vous pouvez trouver de nombres exemples et idées pour votre tableau de bord, vos cartes et vos automatisations [dans le wiki du projet](https://github.com/dvd-dev/hilo/wiki/Utilisation)

Vous pouvez également trouver des exemples en format YAML [dans la section doc/automations du projet](https://github.com/dvd-dev/hilo/tree/main/doc/automations)

## Références

Expand Down
31 changes: 31 additions & 0 deletions doc/automations/Défi_Hilo_Ancrage_AM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
alias: Défi Hilo Ancrage AM
description: "Permet de gérer la période d'ancrage AM d'un défi Hilo/Manages the AM anchor phase of a Hilo Challenge"
mode: single
triggers:
- at: "01:00:00"
trigger: time
- entity_id:
- sensor.defi_hilo
to: appreciation
from: scheduled
trigger: state
conditions:
- condition: template
value_template: "{{'am' in state_attr('sensor.defi_hilo','next_events')[0]['period'] }}"
- condition: or
conditions:
- condition: state
entity_id: sensor.defi_hilo
state: appreciation
- condition: state
entity_id: sensor.defi_hilo
state: scheduled
- condition: time
after: "00:55:00"
before: "01:05:00"
actions:
- action: climate.set_temperature
metadata: {}
data: {}
target:
entity_id: climate.thermostat_cuisine
31 changes: 31 additions & 0 deletions doc/automations/Défi_Hilo_Ancrage_PM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
alias: Défi Hilo Ancrage PM
description: "Permet de gérer la période d'ancrage PM d'un défi Hilo/Manages the PM anchor phase of a Hilo Challenge"
mode: single
triggers:
- at: "12:00:00"
trigger: time
- entity_id:
- sensor.defi_hilo
to: appreciation
from: scheduled
trigger: state
conditions:
- condition: template
value_template: "{{'pm' in state_attr('sensor.defi_hilo','next_events')[0]['period'] }}"
- condition: or
conditions:
- condition: state
entity_id: sensor.defi_hilo
state: appreciation
- condition: state
entity_id: sensor.defi_hilo
state: scheduled
- condition: time
after: "11:55:00"
before: "12:05:00"
actions:
- action: climate.set_temperature
metadata: {}
data: {}
target:
entity_id: climate.thermostat_cuisine
35 changes: 35 additions & 0 deletions doc/automations/Défi_Hilo_Préchauffe_AM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
alias: Défi Hilo Préchauffe AM
description: "Gère la préchauffe Hilo du matin/Manages the AM pre-heat phase of a Hilo Challenge"
mode: single
triggers:
- entity_id:
- sensor.defi_hilo
to: pre_heat
enabled: true
from: appreciation
trigger: state
- at: "04:00:00"
trigger: time
conditions:
- condition: time
before: "04:05:00"
after: "03:55:00"
- condition: or
conditions:
- condition: state
entity_id: sensor.defi_hilo
state: pre_heat
- condition: state
entity_id: sensor.defi_hilo
state: reduction
actions:
- data:
temperature: 15
target:
entity_id: climate.thermostat_salle_de_bain
action: climate.set_temperature
- metadata: {}
data: {}
target:
entity_id: switch.prise_echangeur_d_air
action: switch.turn_off
29 changes: 29 additions & 0 deletions doc/automations/Défi_Hilo_Préchauffe_PM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
alias: Défi Hio Préchauffe PM
description: "Gère la préchauffe Hilo de l'après-midi/Manages the PM pre-heat phase of a Hilo Challenge"
mode: single
triggers:
- entity_id:
- sensor.defi_hilo
to: pre_heat
enabled: true
trigger: state
- at: "15:00:00"
trigger: time
conditions:
- condition: time
before: "16:05:00"
after: "15:55:00"
- condition: or
conditions:
- condition: state
entity_id: sensor.defi_hilo
state: pre_heat
- condition: state
entity_id: sensor.defi_hilo
state: reduction
actions:
- metadata: {}
data: {}
target:
entity_id: switch.prise_echangeur_d_air
action: switch.turn_off
27 changes: 27 additions & 0 deletions doc/automations/Défi_Hilo_Reprise_AM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
alias: Défi Hilo Recovery AM
description: "Permet de gérer la période de reprise AM/Manages the AM recovery phase of a Hilo Challenge"
mode: single
triggers:
- entity_id:
- sensor.defi_hilo
to: recovery
from: reduction
trigger: state
- at: "10:00:00"
trigger: time
conditions:
- condition: time
before: "10:05:00"
after: "09:55:00"
actions:
- data:
temperature: 18
target:
entity_id:
- climate.thermostat_cuisine
action: climate.set_temperature
- metadata: {}
data: {}
target:
entity_id: switch.prise_echangeur_d_air
action: switch.turn_on
27 changes: 27 additions & 0 deletions doc/automations/Défi_Hilo_Reprise_PM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
alias: Défi Hilo Recovery PM
description: "Permet de gérer la période de reprise PM/Manages the PM recovery phase of a Hilo Challenge"
mode: single
triggers:
- entity_id:
- sensor.defi_hilo
to: recovery
from: reduction
trigger: state
- at: "21:00:00"
trigger: time
conditions:
- condition: time
before: "21:05:00"
after: "20:55:00"
actions:
- data:
temperature: 18
target:
entity_id:
- climate.thermostat_cuisine
action: climate.set_temperature
- metadata: {}
data: {}
target:
entity_id: switch.prise_echangeur_d_air
action: switch.turn_on
31 changes: 31 additions & 0 deletions doc/automations/Défi_Hilo_Réduction_AM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
alias: Défi Hilo Réduction AM
description: "Permet de gérer la période de réduction AM/Manages the AM reduction phase of a Hilo Challenge"
mode: single
triggers:
- entity_id:
- sensor.defi_hilo
to: reduction
enabled: true
from: pre_heat
trigger: state
- at: "06:00:00"
trigger: time
conditions:
- condition: time
before: "06:05:00"
after: "05:55:00"
- condition: or
conditions:
- condition: state
entity_id: sensor.defi_hilo
state: pre_heat
- condition: state
entity_id: sensor.defi_hilo
state: reduction
actions:
- data:
temperature: 15
target:
entity_id:
- climate.thermostat_cuisine
action: climate.set_temperature
31 changes: 31 additions & 0 deletions doc/automations/Défi_Hilo_Réduction_PM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
alias: Défi Hilo Réduction PM
description: "Permet de gérer la période de réduction PM/Manages the PM reduction phase of a Hilo Challenge"
mode: single
triggers:
- entity_id:
- sensor.defi_hilo
to: reduction
enabled: true
from: pre_heat
trigger: state
- at: "17:00:00"
trigger: time
conditions:
- condition: time
before: "17:05:00"
after: "16:55:00"
- condition: or
conditions:
- condition: state
entity_id: sensor.defi_hilo
state: pre_heat
- condition: state
entity_id: sensor.defi_hilo
state: reduction
actions:
- data:
temperature: 15
target:
entity_id:
- climate.thermostat_cuisine
action: climate.set_temperature
Loading