Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Exemples d'automatisation en défi

Ian C. edited this page Oct 31, 2024 · 2 revisions

Ancrage/Anchor AM:

alias: Défi Hilo Ancrage AM
description: ""
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:
 - choose:
 - conditions:
 - condition: numeric_state
 entity_id: zone.home
 above: 0
 sequence:
 - if:
 - condition: state
 entity_id: input_boolean.XXXX_nuit
 state: "off"
 then:
 - data:
 temperature: 22
 target:
 entity_id:
 - climate.thermostat_cuisine
 action: climate.set_temperature
 - data:
 temperature: 23.5
 target:
 entity_id:
 - climate.thermostat_salle_de_bain_en_bas
 - climate.thermostat_bureau
 - climate.thermostat_chambre_invite
 - climate.thermostat_salle_de_jeux
 action: climate.set_temperature
 - data:
 temperature: 24
 target:
 entity_id:
 - climate.thermostat_salle_de_bain
 action: climate.set_temperature
 else:
 - data:
 temperature: 22
 target:
 entity_id:
 - climate.thermostat_cuisine
 action: climate.set_temperature
 - data:
 temperature: 23.5
 target:
 entity_id:
 - climate.thermostat_salle_de_bain_en_bas
 - climate.thermostat_bureau
 - climate.thermostat_chambre_invite
 - climate.thermostat_salle_de_jeux
 action: climate.set_temperature
 - data:
 temperature: 24
 target:
 entity_id:
 - climate.thermostat_salle_de_bain
 action: climate.set_temperature
 - delay:
 hours: 0
 minutes: 30
 seconds: 0
 milliseconds: 0
 - data:
 temperature: 24
 target:
 entity_id:
 - climate.thermostat_chambre_invite
 action: climate.set_temperature
 - delay:
 hours: 0
 minutes: 30
 seconds: 0
 milliseconds: 0
 - data:
 temperature: 24.5
 target:
 entity_id:
 - climate.thermostat_chambre_invite
 action: climate.set_temperature
 alias: Présent
 - conditions:
 - condition: numeric_state
 entity_id: zone.home
 below: 1
 sequence:
 - data:
 temperature: 22
 target:
 entity_id:
 - climate.thermostat_cuisine
 - climate.thermostat_bureau
 - climate.thermostat_chambre_des_maitres
 - climate.thermostat_chambre_invite
 - climate.thermostat_chambre_XXXXX
 - climate.thermostat_salle_de_bain
 - climate.thermostat_salle_de_bain_en_bas
 - climate.thermostat_salle_de_jeux
 action: climate.set_temperature
 alias: Absent

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /