Created
December 15, 2025 03:08
-
-
Save InputObject2/954472e1e23c51a33262cab1bdf149d1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| alias: Hilo Défi - Thermostats et chauffe-eau | |
| description: Gère les notifications, les thermostats et le chauffe-eau en fonction des phases du défi Hilo | |
| triggers: | |
| - entity_id: sensor.defi_hilo | |
| to: pre_heat | |
| trigger: state | |
| - entity_id: sensor.defi_hilo | |
| to: reduction | |
| trigger: state | |
| - entity_id: sensor.defi_hilo | |
| to: recovery | |
| trigger: state | |
| - entity_id: | |
| - sensor.defi_hilo | |
| to: appreciation | |
| trigger: state | |
| conditions: [] | |
| actions: | |
| - choose: | |
| - conditions: | |
| - condition: state | |
| entity_id: sensor.defi_hilo | |
| state: appreciation | |
| sequence: | |
| - action: notify.mobile_app_pixel_9a | |
| metadata: {} | |
| data: | |
| title: Hilo - Phase pré-défi | |
| message: On cuisine, on prend les bains, on fait du lavage, on déplace tout ce qu'on peut pour les 3 prochaines heures! | |
| - action: automation.turn_off | |
| metadata: {} | |
| data: | |
| stop_actions: true | |
| target: | |
| entity_id: | |
| - automation.depart_du_matin | |
| - automation.pre_wake_up | |
| - conditions: | |
| - condition: state | |
| entity_id: sensor.defi_hilo | |
| state: pre_heat | |
| sequence: | |
| - action: climate.set_temperature | |
| metadata: {} | |
| data: | |
| temperature: 23 | |
| target: | |
| area_id: | |
| - basement | |
| - living_room | |
| - upstairs_bathroom | |
| - action: climate.set_temperature | |
| metadata: {} | |
| data: | |
| temperature: 21.5 | |
| target: | |
| area_id: | |
| - main_bedroom | |
| - kid_room | |
| - action: notify.mobile_app_pixel_9a | |
| metadata: {} | |
| data: | |
| title: Hilo - début du pré-chauffage | |
| message: >- | |
| Tous les thermostats sont à 23°C (sauf les chambres à 21.5°C). | |
| Dans deux heures (05h / 16h), on arrête d'utiliser l'eau et les appareils! | |
| - conditions: | |
| - condition: state | |
| entity_id: sensor.defi_hilo | |
| state: reduction | |
| sequence: | |
| - action: climate.set_temperature | |
| metadata: {} | |
| data: | |
| temperature: 17 | |
| target: | |
| area_id: | |
| - basement | |
| - living_room | |
| - upstairs_bathroom | |
| - action: climate.set_temperature | |
| metadata: {} | |
| data: | |
| temperature: 18 | |
| target: | |
| area_id: | |
| - main_bedroom | |
| - kid_room | |
| - action: notify.mobile_app_pixel_9a | |
| metadata: {} | |
| data: | |
| title: Hilo - début de la période de pointe | |
| message: >- | |
| La période de pointe Hilo a débuté. Tous les thermostats dans la | |
| maison sont à 17°C. On essaye de pas utiliser l'eau chaude! On touche pu à rien! | |
| - conditions: | |
| - condition: state | |
| entity_id: sensor.defi_hilo | |
| state: recovery | |
| sequence: | |
| - action: climate.set_temperature | |
| metadata: {} | |
| data: | |
| temperature: 19.5 | |
| target: | |
| area_id: | |
| - basement | |
| - living_room | |
| - upstairs_bathroom | |
| - action: climate.set_temperature | |
| metadata: {} | |
| data: | |
| temperature: 21.5 | |
| target: | |
| area_id: | |
| - main_bedroom | |
| - kid_room | |
| - action: notify.mobile_app_pixel_9a | |
| metadata: {} | |
| data: | |
| title: Hilo - début de la phase de récupération | |
| message: >- | |
| La période de pointe est terminée. Les thermostats sont | |
| maintenant à 19.5°C, les chambres à 21.5°C. C'est maintenant le | |
| free-for-all pour les appareils! | |
| - action: automation.turn_off | |
| metadata: {} | |
| data: | |
| stop_actions: true | |
| target: | |
| entity_id: | |
| - automation.depart_du_matin | |
| - automation.pre_wake_up | |
| mode: queued |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment