AutomationDataset/mikeeq/mikeeq_automations.yaml

154 lines
3.5 KiB
YAML

- alias: Click button to close dwor_brama
description: ''
trigger:
- platform: state
entity_id:
- switch.sonoff_4chpror3_garaz_4chpror3_swiatlo_garaz_brama_dwor_btn
from: 'off'
to: 'on'
condition: []
action:
- service: switch.toggle
metadata: {}
data: {}
target:
entity_id: switch.sonoff_4chpror3_dwor_4chpror3_switch_dwor_brama
mode: single
- alias: Wlacz cyrkulacje
description: ''
trigger:
- platform: time
at: 07:00:00
- platform: time
at: '16:00:00'
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.sonoff_4chpror3_ogrzewanie_piec_sonoff_4chpror3_ogrzewanie_piec_pompa_cyrkulacyjna
mode: single
- alias: Wylacz cyrkulacje
description: ''
trigger:
- platform: time
at: '10:00:00'
- platform: time
at: '21:00:00'
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.sonoff_4chpror3_ogrzewanie_piec_sonoff_4chpror3_ogrzewanie_piec_pompa_cyrkulacyjna
mode: single
- alias: Wlacz Grzejniki
description: ''
trigger:
- platform: time
at: 05:30:00
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.sonoff_4chpror3_ogrzewanie_piec_sonoff_4chpror3_ogrzewanie_piec_pompa_grzejniki
mode: single
- alias: Wylacz Grzejniki
description: ''
trigger:
- platform: time
at: 06:00:00
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.sonoff_4chpror3_ogrzewanie_piec_sonoff_4chpror3_ogrzewanie_piec_pompa_grzejniki
mode: single
- alias: piec_off
description: ''
mode: single
triggers:
- trigger: state
entity_id:
- switch.sonoff_4chpror3_ogrzewanie_piec_sonoff_4chpror3_ogrzewanie_piec_pompa_podlogowka
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 15
conditions: []
actions:
- action: water_heater.set_operation_mode
metadata: {}
data:
operation_mode: 'off'
target:
entity_id: water_heater.piec_woda_ogrzewanie
- action: water_heater.set_temperature
metadata: {}
data:
temperature: 35
target:
entity_id: water_heater.piec_woda_ogrzewanie
- alias: piec_on
description: ''
mode: single
triggers:
- trigger: state
entity_id:
- switch.sonoff_4chpror3_ogrzewanie_piec_sonoff_4chpror3_ogrzewanie_piec_pompa_podlogowka
from: 'off'
to: 'on'
for:
hours: 0
minutes: 5
seconds: 0
conditions: []
actions:
- action: water_heater.set_operation_mode
metadata: {}
data:
operation_mode: gas
target:
entity_id: water_heater.piec_woda_ogrzewanie
- action: water_heater.set_temperature
metadata: {}
data:
temperature: 58
target:
entity_id: water_heater.piec_woda_ogrzewanie
- alias: piec_palnik
description: ''
mode: single
triggers:
- trigger: numeric_state
entity_id:
- sensor.opentherm_opentherm_slave_fl
above: 0
conditions:
- condition: numeric_state
entity_id: sensor.opentherm_opentherm_slave_ch
above: 0
actions:
- action: water_heater.set_temperature
metadata: {}
data:
temperature: 58
target:
entity_id: water_heater.piec_woda_ogrzewanie
- delay:
hours: 0
minutes: 7
seconds: 0
milliseconds: 0
enabled: true
- action: water_heater.set_temperature
metadata: {}
data:
temperature: 40
target:
entity_id: water_heater.piec_woda_ogrzewanie