2306 lines
52 KiB
YAML
2306 lines
52 KiB
YAML
- id: motion_sensor_light_on
|
|
alias: Motion Sensor Lights On
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.pir_sensor_2
|
|
from: 'off'
|
|
to: 'on'
|
|
condition:
|
|
- condition: sun
|
|
before: sunrise
|
|
after: sunset
|
|
enabled: true
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_basic_relay_escalier
|
|
enabled: false
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.sonoff_couloir
|
|
enabled: false
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
milliseconds: 0
|
|
enabled: false
|
|
- service: light.turn_on
|
|
data:
|
|
color_temp: 488
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
- service: light.turn_on
|
|
data:
|
|
color_temp: 493
|
|
target:
|
|
entity_id: light.lumieres_escaliers
|
|
- delay:
|
|
hours: 0
|
|
minutes: 3
|
|
seconds: 0
|
|
milliseconds: 0
|
|
enabled: true
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.sonoff_couloir
|
|
enabled: false
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_basic_relay_escalier
|
|
enabled: false
|
|
- service: light.turn_off
|
|
data: {}
|
|
enabled: true
|
|
target:
|
|
entity_id: light.lumieres_escaliers
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
- id: 935b2285deb8492e9f3ed53233e8e72b
|
|
alias: Lux Sensor Lights Off
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.kc868_a8_d758d0_d758d0_bh1750_illuminance
|
|
above: 100
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: sun
|
|
after: sunrise
|
|
- condition: sun
|
|
before: sunset
|
|
action:
|
|
- service: light.turn_off
|
|
entity_id: light.plafond_cuisine
|
|
- service: light.turn_off
|
|
entity_id: light.applique_cuisine
|
|
- service: light.turn_off
|
|
entity_id: light.lumieres_plafond
|
|
- service: light.turn_off
|
|
entity_id: light.applique_salon
|
|
- id: porte_garage_light_on_1
|
|
alias: Porte garage Lights On
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.esp32_4_relays_garage_5a10c8_porte_garage_01
|
|
to: 'on'
|
|
condition:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.eclairage_bois
|
|
- delay: 00:10:00
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.eclairage_bois
|
|
- id: porte_cave_light_on_1
|
|
alias: Porte cave Lights On
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.wemos_cave_porte
|
|
to: 'on'
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_4ch_relay_1
|
|
- id: porte_cave_light_off_1
|
|
alias: Porte cave Lights Off
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.wemos_cave_porte
|
|
from: 'on'
|
|
to: 'off'
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_4ch_relay_1
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_escaliers
|
|
- delay: 00:02
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_escaliers
|
|
- id: porte_bureau_light_on_1
|
|
alias: Porte bureau Lights On
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.wemos_bureau0_porte
|
|
to: 'on'
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: sun
|
|
after: sunset
|
|
- condition: sun
|
|
before: sunrise
|
|
action:
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.bureau_rdc
|
|
- id: porte_bureau_light_off_1
|
|
alias: Porte bureau Lights Off
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.wemos_bureau0_porte
|
|
to: 'off'
|
|
action:
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.bureau_rdc
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
- delay: 00:02:00
|
|
- id: SDB_chauff_OFF_1
|
|
alias: Chauffage OFF
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.t_salle_de_bain
|
|
above: 19
|
|
action:
|
|
service: switch.turn_off
|
|
entity_id: switch.sonoff_pow_relay
|
|
- id: '1584210783162'
|
|
alias: reglage du thermostat1
|
|
description: ''
|
|
trigger:
|
|
- at: '22:40:00'
|
|
platform: time
|
|
condition: []
|
|
action:
|
|
- data:
|
|
temperature: 17
|
|
service: climate.set_temperature
|
|
target:
|
|
entity_id:
|
|
- climate.salon_3
|
|
- id: '1584210783163'
|
|
alias: reglage du thermostat2
|
|
description: ''
|
|
trigger:
|
|
- at: 00:40:00
|
|
platform: time
|
|
condition: []
|
|
action:
|
|
- data:
|
|
temperature: 16
|
|
service: climate.set_temperature
|
|
target:
|
|
entity_id:
|
|
- climate.salon_3
|
|
- id: '1584210783164'
|
|
alias: reglage du thermostat3
|
|
description: ''
|
|
trigger:
|
|
- at: '13:40:00'
|
|
platform: time
|
|
condition: []
|
|
action:
|
|
- data:
|
|
temperature: 17
|
|
service: climate.set_temperature
|
|
target:
|
|
entity_id: climate.salon_3
|
|
- id: '1584210783165'
|
|
alias: reglage du thermostat4
|
|
description: ''
|
|
trigger:
|
|
- at: '16:40:00'
|
|
platform: time
|
|
condition: []
|
|
action:
|
|
- data:
|
|
temperature: 18
|
|
service: climate.set_temperature
|
|
target:
|
|
entity_id: climate.salon_3
|
|
- id: light_on_le_matin
|
|
alias: Lights On le matin
|
|
trigger:
|
|
- platform: time
|
|
at: 06:15:00
|
|
condition:
|
|
- condition: state
|
|
entity_id: binary_sensor.workday_sensor
|
|
state: 'on'
|
|
action:
|
|
- service: light.turn_on
|
|
entity_id: light.plafond_cuisine
|
|
- delay: 00:15:00
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
- delay: 00:50:00
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.lumieres_couloir
|
|
- light.plafond_cuisine
|
|
- id: chauffage_SDB
|
|
alias: chauffage SDB
|
|
trigger:
|
|
platform: time
|
|
at: 05:30:00
|
|
action:
|
|
- service: switch.turn_off
|
|
entity_id: switch.zb_30a_relay_chauffe_eau
|
|
- delay: 00:00:10
|
|
- service: switch.turn_on
|
|
entity_id: switch.sonoff_pow_relay
|
|
- delay: 00:45:00
|
|
- service: switch.turn_off
|
|
entity_id: switch.sonoff_pow_relay
|
|
- id: chauffage_ECS
|
|
alias: chauffage ECS
|
|
trigger:
|
|
- platform: time
|
|
at: '14:30:00'
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- wed
|
|
- fri
|
|
action:
|
|
- service: switch.turn_off
|
|
entity_id: switch.sonoff_pow_relay
|
|
- delay: 00:00:10
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.zb_30a_relay_chauffe_eau
|
|
- delay:
|
|
hours: 3
|
|
minutes: 30
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.zb_30a_relay_chauffe_eau
|
|
- id: '1584208402327'
|
|
alias: descendre volet porte
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:35:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.volet_porte
|
|
position: 35
|
|
service: cover.set_cover_position
|
|
- id: '1584209402327'
|
|
alias: descendre volet porte
|
|
description: ''
|
|
trigger:
|
|
- at: '22:00:00'
|
|
platform: time
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
position: 28
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id: cover.volet_porte_volet_porte
|
|
- id: '1584208402328'
|
|
alias: descendre volet salon 1
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:37:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.volet_salon1
|
|
position: 0
|
|
service: cover.set_cover_position
|
|
- id: '1584208402329'
|
|
alias: descendre volet salon 2
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:38:00
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
position: 0
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id: cover.volet_salon_2_volet_salon_2
|
|
- id: '1584208402339'
|
|
alias: descendre volet arriere
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:35:00
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
position: 8
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id: cover.volet_arriere_volet_arriere
|
|
- id: '1584208402330'
|
|
alias: descendre volet chambre 1
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:36:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.chambre_1
|
|
position: 0
|
|
service: cover.set_cover_position
|
|
- id: '1584208402331'
|
|
alias: descendre volet chambre 2
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:37:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.chambre_2
|
|
position: 0
|
|
service: cover.set_cover_position
|
|
- id: '1584208412327'
|
|
alias: descendre volet porte
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -00:05:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.volet_porte
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
- id: '1584208412328'
|
|
alias: descendre volet salon 1
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -00:04:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.volet_salon1
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
- id: '1584208412329'
|
|
alias: descendre volet salon 2
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -00:06:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.volet_salon2
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
- id: '1584208412339'
|
|
alias: descendre volet arriere
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -00:04:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.arriere
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
- id: '1584208412330'
|
|
alias: descendre volet chambre 1
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -00:07:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.chambre_1
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
- id: '1584208412331'
|
|
alias: descendre volet chambre 2
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -00:08:00
|
|
condition:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
entity_id: cover.chambre_2
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
- id: vmc_auto
|
|
alias: VMC_auto
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /1
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_r2_vmc_relay2
|
|
- delay:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_r2_vmc_relay2
|
|
- id: vmc_hygro
|
|
alias: VMC_hygro
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.h_salle_de_bain
|
|
above: 83
|
|
for:
|
|
minutes: 2
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_r2_vmc_relay
|
|
- delay:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_r2_vmc_relay
|
|
- id: porte_escalier_light_on_1
|
|
alias: Porte escalier Lights On
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.esp8266_tampon_temp_4d756f_esp8266_tampon_temp_porte_escalier
|
|
to: 'on'
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: sun
|
|
after: sunset
|
|
- condition: sun
|
|
before: sunrise
|
|
action:
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_escaliers
|
|
- delay: 00:10:00
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_escaliers
|
|
- id: alarm21584208412331
|
|
alias: Déclencher une alarme lorsque vous êtes armé
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.esp32_4_relays_garage_5a10c8_porte_garage_01
|
|
to: 'on'
|
|
- platform: state
|
|
entity_id: binary_sensor.esp8266_tampon_temp_4d756f_esp8266_tampon_temp_porte_escalier
|
|
to: 'on'
|
|
condition:
|
|
- condition: state
|
|
entity_id: alarm_control_panel.home_alarm
|
|
state: armed_away
|
|
action:
|
|
- service: alarm_control_panel.alarm_trigger
|
|
target:
|
|
entity_id: alarm_control_panel.home_alarm
|
|
- alias: Envoyer une notification lorsque l alarme est déclenchée
|
|
id: alarm1584208412331
|
|
trigger:
|
|
- platform: state
|
|
entity_id: alarm_control_panel.home_alarm
|
|
to: triggered
|
|
action:
|
|
- service: notify.notify
|
|
data:
|
|
message: ALARME! L'alarme a été déclenchée
|
|
- id: '1647212391302'
|
|
alias: Allumage automatique dashboard
|
|
description: ''
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: '06'
|
|
minutes: '00'
|
|
seconds: '00'
|
|
condition:
|
|
- condition: state
|
|
entity_id: binary_sensor.workday_sensor
|
|
state: 'on'
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.yoga
|
|
mode: single
|
|
- id: '1647212976229'
|
|
alias: Extinction dashboard
|
|
description: ''
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: '07'
|
|
minutes: '15'
|
|
seconds: '00'
|
|
condition:
|
|
- condition: state
|
|
entity_id: binary_sensor.workday_sensor
|
|
state: 'on'
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.yoga
|
|
mode: single
|
|
- id: '1647213126018'
|
|
alias: Allumage automatique dashboard2
|
|
description: ''
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: '17'
|
|
minutes: '15'
|
|
seconds: '00'
|
|
condition:
|
|
- condition: state
|
|
entity_id: binary_sensor.workday_sensor
|
|
state: 'on'
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.yoga
|
|
mode: single
|
|
- id: '1661115407918'
|
|
alias: arret auto ballon 2h
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- switch.zb_30a_relay_chauffe_eau
|
|
from: 'off'
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- delay:
|
|
hours: 2
|
|
minutes: 0
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- type: turn_off
|
|
device_id: 2d23b7cb9abcf02cfb24d3c138c29f28
|
|
entity_id: 0f3c3b69a354e1c462e6176b973ac783
|
|
domain: switch
|
|
mode: single
|
|
- id: '1663647864481'
|
|
alias: ouverture volet
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: '14:00:00'
|
|
condition: []
|
|
action:
|
|
- service: cover.set_cover_position
|
|
data:
|
|
position: 83
|
|
target:
|
|
entity_id: cover.volet_salon1
|
|
- service: cover.set_cover_position
|
|
data:
|
|
position: 85
|
|
target:
|
|
entity_id: cover.volet_salon2
|
|
- service: cover.set_cover_position
|
|
data:
|
|
position: 81
|
|
target:
|
|
entity_id: cover.volet_chambre1
|
|
- service: cover.set_cover_position
|
|
data:
|
|
position: 87
|
|
target:
|
|
entity_id: cover.volet_chambre2
|
|
- service: cover.set_cover_position
|
|
data:
|
|
position: 24
|
|
target:
|
|
entity_id: cover.volet_porte_2
|
|
enabled: false
|
|
mode: single
|
|
- id: '1669575255730'
|
|
alias: Allume bureau RDC
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.wemos_bureau0_porte
|
|
from: '0'
|
|
to: '1'
|
|
condition: []
|
|
action:
|
|
- type: turn_on
|
|
device_id: 8f339d247995a56da0e236c585fbf5c3
|
|
entity_id: 6e588a63d704d35f4961ccfde37c4c24
|
|
domain: light
|
|
mode: single
|
|
- id: '1673966882487'
|
|
alias: allume_dressing
|
|
description: ''
|
|
trigger:
|
|
- type: opened
|
|
platform: device
|
|
device_id: e42dfa2a334f4e7ff6fcdf0b3bad679a
|
|
entity_id: cef1f7040328449cb4fbb8ce80e937a0
|
|
domain: binary_sensor
|
|
condition: []
|
|
action:
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.dressing
|
|
mode: single
|
|
- id: '1673966958993'
|
|
alias: Eteint dressing
|
|
description: ''
|
|
trigger:
|
|
- type: not_opened
|
|
platform: device
|
|
device_id: e42dfa2a334f4e7ff6fcdf0b3bad679a
|
|
entity_id: cef1f7040328449cb4fbb8ce80e937a0
|
|
domain: binary_sensor
|
|
condition: []
|
|
action:
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.dressing
|
|
mode: single
|
|
- id: '1676819975278'
|
|
alias: notification courant compteur
|
|
description: ''
|
|
trigger:
|
|
- type: power
|
|
platform: device
|
|
device_id: a313df7677d0b61f7bc877c5842ac7fb
|
|
entity_id: 3a414ae30ce17744b790fae0155dbf78
|
|
domain: sensor
|
|
above: 3300
|
|
condition: []
|
|
action:
|
|
- service: tts.google_say
|
|
data:
|
|
entity_id: media_player.hp_salon
|
|
message: Atttention le compteur va sauter
|
|
language: fr
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.zb_30a_relay_chauffe_eau
|
|
mode: single
|
|
- id: '1677344177654'
|
|
alias: Radiation
|
|
description: ''
|
|
trigger:
|
|
- type: unsafe
|
|
platform: device
|
|
device_id: b07e1486aa2eaf8dd3812ebde6e8b2ec
|
|
entity_id: 45c5cc0f18c2fa50be487f01ff12f743
|
|
domain: binary_sensor
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
condition: []
|
|
action:
|
|
- service: notify.persistent_notification
|
|
data:
|
|
message: radiarion warning dangereux
|
|
title: radiation
|
|
mode: single
|
|
- id: '1677916892812'
|
|
alias: hasp2
|
|
description: openHASP Day mode
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sun.sun
|
|
attribute: elevation
|
|
above: 1
|
|
condition: []
|
|
action:
|
|
- service: mqtt.publish
|
|
data:
|
|
qos: 0
|
|
retain: false
|
|
topic: hasp/plate1/command
|
|
payload: 'backlight {"state": 1, "brightness": 20}'
|
|
mode: single
|
|
- id: '1677924144659'
|
|
alias: Allume Hasp WT
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.pir_sensor_2
|
|
from: 'off'
|
|
to: 'on'
|
|
condition:
|
|
- condition: sun
|
|
before: sunrise
|
|
after: sunset
|
|
enabled: false
|
|
action:
|
|
- service: script.wt32_sc01_wake_up
|
|
data: {}
|
|
- delay:
|
|
hours: 0
|
|
minutes: 3
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: script.wt32_sc01_sleep
|
|
data: {}
|
|
mode: single
|
|
- id: '1678205941146'
|
|
alias: enteindre toute les lumieres
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 08:20:00
|
|
condition: []
|
|
action:
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.applique_cuisine
|
|
- light.bureau_rdc
|
|
- light.lumieres_couloir
|
|
- light.dressing
|
|
- light.eclairage_bois
|
|
- light.eclairage_cave
|
|
- light.light_bureau_z
|
|
- light.lumieres_escaliers
|
|
- light.lumieres_plafond
|
|
- light.plafond_cuisine
|
|
mode: single
|
|
- id: '1678205963063'
|
|
alias: allume toute les lumieres
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 08:20:00
|
|
condition: []
|
|
action:
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.applique_cuisine
|
|
- light.bureau_rdc
|
|
- light.lumieres_couloir
|
|
- light.dressing
|
|
- light.eclairage_bois
|
|
- light.eclairage_cave
|
|
- light.light_bureau_z
|
|
- light.lumieres_escaliers
|
|
- light.lumieres_plafond
|
|
- light.plafond_cuisine
|
|
mode: single
|
|
- id: '1681964652926'
|
|
alias: easun battery low
|
|
description: ''
|
|
trigger:
|
|
- type: battery_level
|
|
platform: device
|
|
device_id: 477cc04b209cbec1076e213a0a0a1bdd
|
|
entity_id: sensor.battery_soc
|
|
domain: sensor
|
|
below: 23
|
|
condition: []
|
|
action:
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.charger_source_priority_2
|
|
type: select_option
|
|
option: Solar and utility simultaneously
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 30
|
|
milliseconds: 0
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Utility first
|
|
mode: single
|
|
- id: '1682268105598'
|
|
alias: 'easun passgeen PV '
|
|
description: ''
|
|
trigger:
|
|
- type: irradiance
|
|
platform: device
|
|
device_id: ece62aa07124a7fa58b7d8e490850dcc
|
|
entity_id: sensor.ecowitt_solarradiation
|
|
domain: sensor
|
|
above: 50
|
|
condition:
|
|
- condition: numeric_state
|
|
entity_id: sensor.battery_soc
|
|
above: 28
|
|
action:
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.charger_source_priority_2
|
|
type: select_option
|
|
option: Solar first
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 30
|
|
milliseconds: 0
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Solar first
|
|
mode: single
|
|
- id: '1685394964755'
|
|
alias: toggle chambre
|
|
description: ''
|
|
trigger:
|
|
- type: turned_on
|
|
platform: device
|
|
device_id: e42dfa2a334f4e7ff6fcdf0b3bad679a
|
|
entity_id: binary_sensor.kc868_a8_d758d0_d758d0_interrupteur_chambre1
|
|
domain: binary_sensor
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: light.plafond_chambre_z
|
|
mode: single
|
|
- id: '1686068928189'
|
|
alias: easun conso load power eleve
|
|
description: ''
|
|
trigger:
|
|
- type: power
|
|
platform: device
|
|
device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
entity_id: sensor.load_power_3
|
|
domain: sensor
|
|
above: 2800
|
|
condition: []
|
|
action:
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Utility first
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
milliseconds: 0
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Utility first
|
|
mode: single
|
|
- id: '1686071509982'
|
|
alias: easun conso load power retour normal
|
|
description: ''
|
|
trigger:
|
|
- type: power
|
|
platform: device
|
|
device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
entity_id: sensor.load_power_3
|
|
domain: sensor
|
|
below: 1450
|
|
condition: []
|
|
action:
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Solar first
|
|
mode: single
|
|
- id: '1686196586553'
|
|
alias: monter volet arriere
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: -0:00:25
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
- condition: state
|
|
entity_id: binary_sensor.workday_sensor
|
|
state: 'off'
|
|
action:
|
|
- data:
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id:
|
|
- cover.volet_porte_volet_porte
|
|
mode: single
|
|
- id: '1686196753195'
|
|
alias: monter volet salon 2
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id: cover.volet_salon_2_volet_salon_2
|
|
mode: single
|
|
- id: '1686196833346'
|
|
alias: descendre volet salon 1
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 00:37:00
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
position: 0
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id:
|
|
- cover.volet_salon_1_volet_salon_1
|
|
mode: single
|
|
- id: '1686196921286'
|
|
alias: monter volet salon 1
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
action:
|
|
- data:
|
|
position: 100
|
|
service: cover.set_cover_position
|
|
target:
|
|
entity_id:
|
|
- cover.volet_salon_1_volet_salon_1
|
|
mode: single
|
|
- id: '1686375508963'
|
|
alias: allume aorus
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 157ec5a089ec7c168bdf5dee18a3c068
|
|
type: action
|
|
subtype: shake
|
|
discovery_id: 0x00158d0005d3f635 action_shake
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.tasmota
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
milliseconds: 0
|
|
- service: switch.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ryzen
|
|
mode: single
|
|
- id: '1688194990099'
|
|
alias: pas d arrosage
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 06:00:00
|
|
- platform: time
|
|
at: '18:00:00'
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.ecowitt_dailyrain
|
|
above: 5
|
|
- condition: numeric_state
|
|
entity_id: sensor.ecowitt_eventrain
|
|
above: 5
|
|
action:
|
|
- service: irrigation_unlimited.disable
|
|
data:
|
|
entity_id: binary_sensor.irrigation_unlimited_c1_m
|
|
mode: single
|
|
- id: '1688195035893'
|
|
alias: arrosage auto
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 06:00:00
|
|
- platform: time
|
|
at: '18:00:00'
|
|
condition:
|
|
- condition: and
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.ecowitt_dailyrain
|
|
below: 4
|
|
- condition: numeric_state
|
|
entity_id: sensor.ecowitt_eventrain
|
|
below: 4
|
|
action:
|
|
- service: irrigation_unlimited.enable
|
|
data:
|
|
entity_id: binary_sensor.irrigation_unlimited_c1_m
|
|
mode: single
|
|
- id: '1688737708801'
|
|
alias: moes 4 switch1
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 8a5fa172a17acae2954d20ec7188775b
|
|
type: action
|
|
subtype: 1_single
|
|
discovery_id: 0x70ac08fffee6d168 action_1_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: light.lumieres_couloir
|
|
mode: single
|
|
- id: '1688737792542'
|
|
alias: moes 4 switch2
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 8a5fa172a17acae2954d20ec7188775b
|
|
type: action
|
|
subtype: 2_single
|
|
discovery_id: 0x70ac08fffee6d168 action_2_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: light.plafond_chambre_z
|
|
mode: single
|
|
- id: '1688737807420'
|
|
alias: moes 4 switch3
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 8a5fa172a17acae2954d20ec7188775b
|
|
type: action
|
|
subtype: 3_single
|
|
discovery_id: 0x70ac08fffee6d168 action_3_single
|
|
condition: []
|
|
action:
|
|
- service: switch.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: switch.sonoff_basic_relay_escalier
|
|
mode: single
|
|
- id: '1688737822775'
|
|
alias: moes 4 switch4
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 8a5fa172a17acae2954d20ec7188775b
|
|
type: action
|
|
subtype: 4_single
|
|
discovery_id: 0x70ac08fffee6d168 action_4_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: light.plafond_cuisine
|
|
mode: single
|
|
- id: '1688980093210'
|
|
alias: je pars
|
|
description: ''
|
|
trigger:
|
|
- platform: zone
|
|
entity_id: device_tracker.iphonex
|
|
zone: zone.home
|
|
event: leave
|
|
condition: []
|
|
action:
|
|
- service: cover.close_cover
|
|
data: {}
|
|
target:
|
|
entity_id: cover.volet_porte_volet_porte
|
|
- service: notify.mobile_app_iphonex_3
|
|
data:
|
|
message: le volet de la porte se ferme
|
|
title: volet porte
|
|
mode: single
|
|
- id: '1688980923500'
|
|
alias: J arrive
|
|
description: ''
|
|
trigger:
|
|
- platform: zone
|
|
entity_id: device_tracker.iphonex
|
|
zone: zone.home
|
|
event: enter
|
|
condition: []
|
|
action:
|
|
- service: cover.set_cover_position
|
|
data:
|
|
position: 70
|
|
mode: single
|
|
- id: '1690523777219'
|
|
alias: allume aorus2
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- switch.ryzen
|
|
from: 'off'
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.tasmota
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
milliseconds: 0
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ryzen
|
|
mode: single
|
|
- id: '1690637372276'
|
|
alias: apsystem beaucoup soleil
|
|
description: ''
|
|
trigger:
|
|
- type: irradiance
|
|
platform: device
|
|
device_id: ece62aa07124a7fa58b7d8e490850dcc
|
|
entity_id: 82a2c21dc63253a4a7512559a8234d92
|
|
domain: sensor
|
|
above: 300
|
|
condition:
|
|
- type: is_power
|
|
condition: device
|
|
device_id: a313df7677d0b61f7bc877c5842ac7fb
|
|
entity_id: 3a414ae30ce17744b790fae0155dbf78
|
|
domain: sensor
|
|
below: 300
|
|
- type: is_battery_level
|
|
condition: device
|
|
device_id: 3012934cdfcc3dc76324be73eab48e9e
|
|
entity_id: 6883b5c05e197fe7aa465ad129ad30ed
|
|
domain: sensor
|
|
below: 98
|
|
action:
|
|
- type: turn_on
|
|
device_id: e0bc07770566e349f57fb6c01a589ed4
|
|
entity_id: 16d753c211622421f689756eecfa2427
|
|
domain: switch
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 30
|
|
milliseconds: 0
|
|
- type: turn_on
|
|
device_id: 3012934cdfcc3dc76324be73eab48e9e
|
|
entity_id: fde76fb92fef7074e814f22e8828443c
|
|
domain: switch
|
|
mode: single
|
|
- id: '1690639616100'
|
|
alias: easun battery full
|
|
description: ''
|
|
trigger:
|
|
- type: battery_level
|
|
platform: device
|
|
device_id: 477cc04b209cbec1076e213a0a0a1bdd
|
|
entity_id: sensor.battery_soc
|
|
domain: sensor
|
|
above: 90
|
|
condition:
|
|
- type: is_irradiance
|
|
condition: device
|
|
device_id: ece62aa07124a7fa58b7d8e490850dcc
|
|
entity_id: 82a2c21dc63253a4a7512559a8234d92
|
|
domain: sensor
|
|
above: 5
|
|
action:
|
|
- delay:
|
|
hours: 1
|
|
minutes: 0
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.charger_source_priority_2
|
|
type: select_option
|
|
option: Solar only
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
milliseconds: 0
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Solar/Battery/Utility
|
|
mode: single
|
|
- id: '1690896885121'
|
|
alias: off aorus
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 157ec5a089ec7c168bdf5dee18a3c068
|
|
type: action
|
|
subtype: slide
|
|
discovery_id: 0x00158d0005d3f635 action_slide
|
|
condition: []
|
|
action: []
|
|
mode: single
|
|
- id: '1691318394973'
|
|
alias: cycle UV elegoo
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
type: turned_on
|
|
device_id: 12296fcf4051cff3e333257039c1d27d
|
|
entity_id: bd06db8121a920cc1bb72c1d16d4f58a
|
|
domain: switch
|
|
condition: []
|
|
action:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 6
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.prise_salon_uv_z
|
|
- service: tts.google_say
|
|
data:
|
|
cache: false
|
|
entity_id: media_player.hp_salon
|
|
message: la séance d'uv est terminée
|
|
language: fr
|
|
mode: single
|
|
- id: '1691485011308'
|
|
alias: J arrive
|
|
description: ''
|
|
trigger:
|
|
- platform: zone
|
|
entity_id: device_tracker.iphonex
|
|
zone: zone.home
|
|
event: enter
|
|
condition: []
|
|
action:
|
|
- service: cover.open_cover
|
|
data: {}
|
|
target:
|
|
entity_id: cover.volet_porte_volet_porte
|
|
mode: single
|
|
- id: '1692001008329'
|
|
alias: impression elegoo terminée
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.impression_sla_en_cours
|
|
from: 'on'
|
|
to: 'off'
|
|
condition: []
|
|
action:
|
|
- service: tts.google_say
|
|
data:
|
|
cache: false
|
|
entity_id: media_player.hp_salon
|
|
message: l'impression sur l'elegoo est terminée
|
|
language: fr
|
|
mode: single
|
|
- id: '1692014714379'
|
|
alias: Eclairage hotte cuisine
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: a6d6e5b68e9ed69f82f6bccb330a430f
|
|
type: action
|
|
subtype: single
|
|
discovery_id: 0xa4c1386e85dbf484 action_single
|
|
condition: []
|
|
action:
|
|
- service: switch.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: switch.prise_eclairage_hotte_cuisine
|
|
mode: single
|
|
- id: '1692313211284'
|
|
alias: restart esphome's
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_button.restart_esphome_s
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.h801light_6f9188_h801_restart
|
|
- switch.sonoff_4ch_restart_2
|
|
- switch.kc868_a8_d758d0_d758d0_kc868_a8_restart
|
|
- switch.nmcuvoletporte_volet_porte_restart
|
|
- switch.esp32_4_relays_garage_5a10c8_esp32_4_relays_garage_restart
|
|
- switch.esp32_4_relays_garage_5a10c8_esp32_4_relays_garage_restart
|
|
- switch.sonoff_4ch_garage_restart
|
|
- switch.sonoff_r2_vmc_restart
|
|
- switch.nmcuvoletarriere1_volet_arriere_restart
|
|
- switch.nmcuvoletsalon1_volet_salon_1_restart
|
|
- switch.nmcuvoletsalon2_volet_salon_2_restart
|
|
- switch.eclairage_bois_restart
|
|
- switch.sonoff_dressing_restart_2
|
|
- switch.sonoff_escalier_restart_2
|
|
- switch.nmcuvoletchambre1_volet_chambre_1_restart
|
|
- switch.volet_chambre_2_restart_nmcuvoletchambre2
|
|
- switch.nmcuvoletcuisine1_volet_cuisine_1_restart
|
|
- switch.nmcuvoletcuisine2_volet_cuisine_2_restart
|
|
- switch.meuble_dashboard_restart
|
|
- switch.wemos_pir_comble1_restart_2
|
|
- switch.geiger_wemos_geiger_restart
|
|
mode: single
|
|
- id: '1697147323532'
|
|
alias: 4switchz_1_cuisine
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: a0783be10b7e41c8758160cb3f3332a2
|
|
type: action
|
|
subtype: 1_single
|
|
discovery_id: 0xb43a31fffe2667d8 action_1_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data:
|
|
brightness_pct: 67
|
|
target:
|
|
entity_id: light.applique_cuisine
|
|
mode: single
|
|
- id: '1697518688800'
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: a0783be10b7e41c8758160cb3f3332a2
|
|
type: action
|
|
subtype: 3_single
|
|
discovery_id: 0xb43a31fffe2667d8 action_3_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: light.plafond_cuisine
|
|
mode: single
|
|
- id: '1697518854405'
|
|
alias: zi_switch3_togglecuisine
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: a0783be10b7e41c8758160cb3f3332a2
|
|
type: action
|
|
subtype: 3_single
|
|
discovery_id: 0xb43a31fffe2667d8 action_3_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data: {}
|
|
target:
|
|
entity_id: light.plafond_cuisine
|
|
mode: single
|
|
- id: '1699291265877'
|
|
description: ''
|
|
trigger:
|
|
- platform: zone
|
|
entity_id: device_tracker.iphonex
|
|
zone: zone.home
|
|
event: enter
|
|
condition: []
|
|
action:
|
|
- service: cover.open_cover
|
|
data: {}
|
|
target:
|
|
entity_id: cover.volet_porte_volet_porte
|
|
mode: single
|
|
- id: '1699291405935'
|
|
alias: j arrive lumiere
|
|
description: ''
|
|
trigger:
|
|
- platform: zone
|
|
entity_id: device_tracker.iphonex
|
|
zone: zone.home
|
|
event: enter
|
|
condition:
|
|
- condition: sun
|
|
after: sunset
|
|
action:
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.eclairage_bois
|
|
- delay:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.eclairage_bois
|
|
mode: single
|
|
- id: '1700066940215'
|
|
alias: chaudiere fermer porte
|
|
description: ''
|
|
trigger:
|
|
- type: temperature
|
|
platform: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 544f7121b81fc415b1870af9b35b9fd8
|
|
domain: sensor
|
|
above: 130
|
|
condition:
|
|
- type: is_open
|
|
condition: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 9114f3f450c4a9992a4ac39bc2370377
|
|
domain: binary_sensor
|
|
action:
|
|
- service: tts.speak
|
|
data:
|
|
cache: true
|
|
media_player_entity_id: media_player.hp_salon
|
|
message: fermer la porte
|
|
language: fr
|
|
target:
|
|
entity_id: tts.google_say
|
|
mode: single
|
|
- id: '1700067438541'
|
|
alias: rajouter du bois
|
|
description: ''
|
|
trigger:
|
|
- type: temperature
|
|
platform: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 544f7121b81fc415b1870af9b35b9fd8
|
|
domain: sensor
|
|
below: 110
|
|
condition:
|
|
- condition: state
|
|
entity_id: sensor.froling_s3_etat_chaudiere
|
|
state: '3'
|
|
- type: is_temperature
|
|
condition: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 9ea08059d271eff6c93061b320c0e6ae
|
|
domain: sensor
|
|
below: 50
|
|
action:
|
|
- service: tts.speak
|
|
data:
|
|
cache: true
|
|
media_player_entity_id: media_player.hp_salon
|
|
message: ajouter du bois
|
|
target:
|
|
entity_id: tts.google_say
|
|
mode: single
|
|
- id: '1700428678105'
|
|
alias: ouverture porte garage
|
|
description: ''
|
|
trigger:
|
|
- type: opened
|
|
platform: device
|
|
device_id: a1197e1c85c0f91b5007c97f2fb044d8
|
|
entity_id: a51ee606044b1a471c3389cae7feb66f
|
|
domain: binary_sensor
|
|
condition:
|
|
- condition: sun
|
|
after: sunset
|
|
before: sunrise
|
|
before_offset: 00:30:00
|
|
after_offset: -00:30:00
|
|
action:
|
|
- service: light.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: light.eclairage_bois
|
|
- delay:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: light.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: light.eclairage_bois
|
|
mode: single
|
|
- id: '1701323663651'
|
|
alias: 4switch salon
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: a0783be10b7e41c8758160cb3f3332a2
|
|
type: action
|
|
subtype: 4_single
|
|
discovery_id: 0xb43a31fffe2667d8 action_4_single
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
data:
|
|
brightness_pct: 67
|
|
target:
|
|
entity_id:
|
|
- light.applique_salon
|
|
mode: single
|
|
- id: '1701539536870'
|
|
alias: purge_db
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_button.purge_db
|
|
condition: []
|
|
action:
|
|
- service: script.purge_database
|
|
data: {}
|
|
mode: single
|
|
- id: '1701586721944'
|
|
alias: Notification - Alertes météo
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- sensor.alerte_meteo
|
|
from:
|
|
to: Jaune
|
|
- platform: state
|
|
entity_id:
|
|
- sensor.alerte_meteo
|
|
from:
|
|
to: Orange
|
|
- platform: state
|
|
entity_id:
|
|
- sensor.alerte_meteo
|
|
from:
|
|
to: Rouge
|
|
condition: []
|
|
action:
|
|
- device_id: 4924071cde65b291a4b96864ae6e3d82
|
|
domain: mobile_app
|
|
type: notify
|
|
message: 'Orages : {{ state_attr(''sensor.alerte_meteo'', ''Orages'') }}
|
|
|
|
|
|
Vent Violent : {{ state_attr(''sensor.alerte_meteo'', ''Vent Violent'') }}
|
|
|
|
|
|
Pluie Inondation : {{ state_attr(''sensor.alerte_meteo'', ''Pluie Inondation'')
|
|
}}
|
|
|
|
|
|
Inondation : {{ state_attr(''sensor.alerte_meteo'', ''Inondation'') }}
|
|
|
|
|
|
Canicule : {{ state_attr(''sensor.alerte_meteo'', ''Canicule'') }}
|
|
|
|
|
|
Grand Froid : {{ state_attr(''sensor.alerte_meteo'', ''Grand Froid'') }}
|
|
|
|
|
|
Neige Verglas : {{ state_attr(''sensor.alerte_meteo'', ''Neige Verglas'') }}
|
|
|
|
'
|
|
title: 'Alerte météo : {{ states(''sensor.alerte_meteo'') }} '
|
|
mode: single
|
|
- id: '1701634998616'
|
|
alias: 'Frigate Notifications '
|
|
description: ''
|
|
use_blueprint:
|
|
path: SgtBatten/Stable.yaml
|
|
input:
|
|
camera: camera.terrasse
|
|
notify_device: 4924071cde65b291a4b96864ae6e3d82
|
|
base_url: http://maison43.duckdns.org:8123
|
|
title: frigate
|
|
tap_action: '{{base_url}}/api/frigate/notifications/{{id}}/snapshot.jpg'
|
|
alert_once: true
|
|
ios_live_view: true
|
|
labels:
|
|
- person
|
|
- dog
|
|
- car
|
|
state_filter: false
|
|
cooldown: 76
|
|
color: red
|
|
attachment: snapshot
|
|
url_1: '{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json[''after''][''camera''].lower()}}?token={{state_attr(
|
|
''camera.'' ~ camera, ''access_token'')}}'
|
|
loiter_timer: 114
|
|
silence_timer: 92
|
|
- id: '1701725588574'
|
|
alias: ajouter du bois
|
|
description: ''
|
|
trigger:
|
|
- type: temperature
|
|
platform: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 544f7121b81fc415b1870af9b35b9fd8
|
|
domain: sensor
|
|
below: 120
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
condition:
|
|
- type: is_not_open
|
|
condition: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 9114f3f450c4a9992a4ac39bc2370377
|
|
domain: binary_sensor
|
|
- type: is_temperature
|
|
condition: device
|
|
device_id: 26137125cd7042f7127ecf3eed68c699
|
|
entity_id: 9ea08059d271eff6c93061b320c0e6ae
|
|
domain: sensor
|
|
below: 45
|
|
action:
|
|
- service: tts.google_say
|
|
data:
|
|
cache: false
|
|
entity_id: media_player.hp_salon
|
|
message: ajouter du bois
|
|
language: fr
|
|
mode: single
|
|
- id: '1702411697026'
|
|
alias: matin allume garage
|
|
description: ''
|
|
trigger:
|
|
- type: opened
|
|
platform: device
|
|
device_id: db5c6c1763d37f1890a2f0b7ef1e0a71
|
|
entity_id: 423657dccf57d3710e3afd3531039621
|
|
domain: binary_sensor
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
condition:
|
|
- condition: time
|
|
after: 06:30:00
|
|
before: 07:15:00
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
action:
|
|
- service: light.turn_on
|
|
target:
|
|
entity_id: light.lumiere_garage1
|
|
data: {}
|
|
mode: single
|
|
- id: '1704002151378'
|
|
alias: presence cuisine
|
|
description: ''
|
|
trigger:
|
|
- type: present
|
|
platform: device
|
|
device_id: 5f4a2468d39c0264d04f5d7349dd2b34
|
|
entity_id: bc10f7d7ea63a6e94a3db8e18b0ec6fd
|
|
domain: binary_sensor
|
|
condition:
|
|
- condition: sun
|
|
before: sunrise
|
|
after: sunset
|
|
enabled: true
|
|
action:
|
|
- service: switch.turn_on
|
|
target:
|
|
entity_id: switch.prise_eclairage_hotte_cuisine
|
|
data: {}
|
|
mode: single
|
|
- id: '1704002531297'
|
|
alias: fin detection cuisine
|
|
description: ''
|
|
trigger:
|
|
- type: not_present
|
|
platform: device
|
|
device_id: 5f4a2468d39c0264d04f5d7349dd2b34
|
|
entity_id: bc10f7d7ea63a6e94a3db8e18b0ec6fd
|
|
domain: binary_sensor
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
target:
|
|
entity_id:
|
|
- switch.prise_eclairage_hotte_cuisine
|
|
device_id: []
|
|
area_id: []
|
|
data: {}
|
|
mode: single
|
|
- id: '1704354369737'
|
|
alias: recharge_toggle
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: b7bcb1edd4478de219bc35a8b10bb1d5
|
|
type: action
|
|
subtype: 1_single
|
|
discovery_id: 0x943469fffe5f6024 action_1_single
|
|
condition: []
|
|
action:
|
|
- type: toggle
|
|
device_id: b6be148a36401980ca193fe79da740f6
|
|
entity_id: 5b3c12dea9525a50ae8632b5c2c0200f
|
|
domain: switch
|
|
mode: single
|
|
- id: '1705469874811'
|
|
alias: zb-btton- couloir
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: a0783be10b7e41c8758160cb3f3332a2
|
|
type: action
|
|
subtype: 2_single
|
|
discovery_id: 0xb43a31fffe2667d8 action_2_single
|
|
condition: []
|
|
action:
|
|
- type: toggle
|
|
device_id: f5a1b4424948da936c7d75e14f18afa3
|
|
entity_id: 582588be67c51be8b765a15eb5ffd4aa
|
|
domain: light
|
|
mode: single
|
|
- id: '1707798145001'
|
|
alias: pir couloir
|
|
description: ''
|
|
trigger:
|
|
- type: motion
|
|
platform: device
|
|
device_id: b3754c8ee053109a4a37d3673b1f43cb
|
|
entity_id: c167b5b31415f51df78e137d49222981
|
|
domain: binary_sensor
|
|
condition:
|
|
- condition: numeric_state
|
|
entity_id: sensor.kc868_a8_d758d0_d758d0_bh1750_illuminance
|
|
below: 10
|
|
action:
|
|
- type: turn_on
|
|
device_id: dd8b56ae02d022db8d8a388fa7ac29c3
|
|
entity_id: 959475d99663bf1db611fb71a6037334
|
|
domain: light
|
|
- delay:
|
|
hours: 0
|
|
minutes: 2
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- type: turn_off
|
|
device_id: dd8b56ae02d022db8d8a388fa7ac29c3
|
|
entity_id: 959475d99663bf1db611fb71a6037334
|
|
domain: light
|
|
mode: single
|
|
- id: '1710354523724'
|
|
alias: monter volet porte hiver
|
|
description: ''
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id:
|
|
- sensor.ecowitt_tempin
|
|
below: sensor.ecowitt_temp
|
|
condition:
|
|
- condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: summer
|
|
action:
|
|
- device_id: 559dcd81bebb2fb7defc092d667462fc
|
|
domain: cover
|
|
entity_id: 85118468c05ea4d3c6ea63c604205fd0
|
|
type: open
|
|
- type: turn_on
|
|
device_id: 559dcd81bebb2fb7defc092d667462fc
|
|
entity_id: 7d2cfae545ef09a61958f96ae1994a93
|
|
domain: switch
|
|
mode: single
|
|
- id: '1710827908641'
|
|
alias: je part au boulot
|
|
description: ''
|
|
trigger:
|
|
- type: not_opened
|
|
platform: device
|
|
device_id: a1197e1c85c0f91b5007c97f2fb044d8
|
|
entity_id: a51ee606044b1a471c3389cae7feb66f
|
|
domain: binary_sensor
|
|
condition:
|
|
- condition: time
|
|
after: 06:50:00
|
|
before: 07:10:00
|
|
action:
|
|
- service: light.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- light.eclairage_bois
|
|
- light.lumieres_escaliers
|
|
- light.lumiere_garage1
|
|
mode: single
|
|
- id: '1711426426777'
|
|
alias: easun y a plus de soleil
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 0
|
|
condition: []
|
|
action:
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.charger_source_priority_2
|
|
type: select_option
|
|
option: Utility first
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 30
|
|
milliseconds: 0
|
|
- device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
domain: select
|
|
entity_id: select.output_source_priority_2
|
|
type: select_option
|
|
option: Utility first
|
|
mode: single
|
|
- id: '1712403053393'
|
|
alias: si batterye vide
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
type: turned_on
|
|
device_id: 7210a849c3fa92342ae96167da2a106e
|
|
entity_id: 146669babe5d4bbb1ebe5fd7f9c3d2d5
|
|
domain: switch
|
|
condition:
|
|
- type: is_battery_level
|
|
condition: device
|
|
device_id: 039b70e127d5dadf9db2ff249d45be5c
|
|
entity_id: edd574741ee09a1bfa19ad5efa86c744
|
|
domain: sensor
|
|
above: 20
|
|
action:
|
|
- type: turn_off
|
|
device_id: e0bc07770566e349f57fb6c01a589ed4
|
|
entity_id: 16d753c211622421f689756eecfa2427
|
|
domain: switch
|
|
mode: single
|
|
- id: '1712784173503'
|
|
alias: ecoflow batterie pleine
|
|
description: ''
|
|
trigger:
|
|
- type: battery_level
|
|
platform: device
|
|
device_id: 3012934cdfcc3dc76324be73eab48e9e
|
|
entity_id: 6883b5c05e197fe7aa465ad129ad30ed
|
|
domain: sensor
|
|
above: 95
|
|
condition:
|
|
- condition: sun
|
|
after: sunset
|
|
action:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 30
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- type: turn_off
|
|
device_id: e0bc07770566e349f57fb6c01a589ed4
|
|
entity_id: 16d753c211622421f689756eecfa2427
|
|
domain: switch
|
|
mode: single
|
|
- id: '1714481820637'
|
|
alias: test bouton rotatif
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 0f74f46551b0b58e87565e4ed32cd035
|
|
type: action
|
|
subtype: rotate_left
|
|
condition: []
|
|
action:
|
|
- type: turn_on
|
|
device_id: dd8b56ae02d022db8d8a388fa7ac29c3
|
|
entity_id: 959475d99663bf1db611fb71a6037334
|
|
domain: light
|
|
mode: single
|
|
- id: '1714481860932'
|
|
alias: test2 bouton rotatif
|
|
description: ''
|
|
trigger:
|
|
- platform: device
|
|
domain: mqtt
|
|
device_id: 0f74f46551b0b58e87565e4ed32cd035
|
|
type: action
|
|
subtype: rotate_right
|
|
condition: []
|
|
action:
|
|
- type: turn_off
|
|
device_id: dd8b56ae02d022db8d8a388fa7ac29c3
|
|
entity_id: 959475d99663bf1db611fb71a6037334
|
|
domain: light
|
|
mode: single
|
|
- id: '1714787013186'
|
|
alias: automatique purge db
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 01:00:00
|
|
condition: []
|
|
action:
|
|
- service: automation.trigger
|
|
target:
|
|
entity_id: automation.purge_db
|
|
data:
|
|
skip_condition: true
|
|
mode: single
|
|
- id: '1714980226749'
|
|
alias: clear_log
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_button.clear_log
|
|
condition: []
|
|
action:
|
|
- service: script.1714980028797
|
|
data: {}
|
|
mode: single
|
|
- id: '1715171546682'
|
|
alias: apsystem pas beaucoup soleil
|
|
description: ''
|
|
trigger:
|
|
- type: irradiance
|
|
platform: device
|
|
device_id: ece62aa07124a7fa58b7d8e490850dcc
|
|
entity_id: 82a2c21dc63253a4a7512559a8234d92
|
|
domain: sensor
|
|
below: 290
|
|
condition: []
|
|
action:
|
|
- type: turn_off
|
|
device_id: 3012934cdfcc3dc76324be73eab48e9e
|
|
entity_id: fde76fb92fef7074e814f22e8828443c
|
|
domain: switch
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
milliseconds: 0
|
|
- type: turn_off
|
|
device_id: e0bc07770566e349f57fb6c01a589ed4
|
|
entity_id: 16d753c211622421f689756eecfa2427
|
|
domain: switch
|
|
mode: single
|
|
- id: '1715350137885'
|
|
alias: cycle cuisson pilon
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_button.cycle_prise_ronde
|
|
from: unknown
|
|
to:
|
|
condition: []
|
|
action:
|
|
- type: turn_on
|
|
device_id: ea907b7803133511649ecb269be786ff
|
|
entity_id: a1c5260977db4e2f04bc3182d6effe2e
|
|
domain: switch
|
|
- delay:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 15
|
|
milliseconds: 0
|
|
- type: turn_off
|
|
device_id: ea907b7803133511649ecb269be786ff
|
|
entity_id: a1c5260977db4e2f04bc3182d6effe2e
|
|
domain: switch
|
|
mode: single
|