887 lines
19 KiB
YAML
887 lines
19 KiB
YAML
- id: '1742834195084'
|
|
alias: Проверка окон
|
|
description: ''
|
|
triggers:
|
|
- trigger: homeassistant
|
|
event: start
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.off_on_gas_kitchen
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.off_on_gas_kitchen
|
|
mode: single
|
|
- id: '1743016921310'
|
|
alias: Перезагрузка HA
|
|
description: ''
|
|
triggers:
|
|
- trigger: mqtt
|
|
topic: server/reboot
|
|
payload: 'true'
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: true
|
|
topic: server/reboot
|
|
payload: 'false'
|
|
- action: homeassistant.restart
|
|
metadata: {}
|
|
data: {}
|
|
mode: single
|
|
- id: '1743017705371'
|
|
alias: Button reboot
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- input_button.reboot_ha
|
|
from:
|
|
to:
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
metadata: {}
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: server/reboot
|
|
payload: 'true'
|
|
- action: mqtt.publish
|
|
metadata: {}
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: server/state
|
|
payload: '{reboot:"true"}'
|
|
mode: single
|
|
- id: '1743167424639'
|
|
alias: Подогрев чайника
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- automation.podogrev_chainika
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
enabled: true
|
|
target:
|
|
entity_id: switch.chainik
|
|
- repeat:
|
|
count: 4
|
|
sequence:
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.chainik
|
|
state: 'off'
|
|
then:
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.chainik
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
milliseconds: 0
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.chainik
|
|
state: unavailable
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: switch.chainik
|
|
state: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
then:
|
|
- action: automation.turn_off
|
|
metadata: {}
|
|
data:
|
|
stop_actions: true
|
|
target:
|
|
entity_id: automation.podogrev_chainika
|
|
- if:
|
|
- condition: numeric_state
|
|
entity_id: sensor.temp_chainik
|
|
above: 70
|
|
below: 101
|
|
- condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: switch.chainik
|
|
state: 'on'
|
|
then:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.chainik
|
|
- action: automation.turn_off
|
|
metadata: {}
|
|
data:
|
|
stop_actions: true
|
|
target:
|
|
entity_id: automation.podogrev_chainika
|
|
else:
|
|
- repeat:
|
|
count: 100
|
|
sequence:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- if:
|
|
- condition: numeric_state
|
|
entity_id: sensor.temp_chainik
|
|
above: 70
|
|
below: 101
|
|
- condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: switch.chainik
|
|
state: 'on'
|
|
then:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.chainik
|
|
- action: automation.turn_off
|
|
metadata: {}
|
|
data:
|
|
stop_actions: true
|
|
target:
|
|
entity_id: automation.podogrev_chainika
|
|
enabled: true
|
|
- action: automation.turn_off
|
|
metadata: {}
|
|
data:
|
|
stop_actions: true
|
|
target:
|
|
entity_id: automation.podogrev_chainika
|
|
enabled: true
|
|
mode: single
|
|
- id: '1743688982404'
|
|
alias: gas_kitchen
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- binary_sensor.192_168_88_21
|
|
from: 'on'
|
|
to:
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
metadata: {}
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: true
|
|
topic: gas_kitchen/sensor/smoke
|
|
payload: '{"data":{"online":"false"}}'
|
|
mode: single
|
|
- id: '1744571642047'
|
|
alias: gas_ketchen_status
|
|
description: ''
|
|
triggers:
|
|
- trigger: mqtt
|
|
topic: gas_kitchen/sensor/smoke
|
|
enabled: true
|
|
payload: '{"data":{"online":"false"}}'
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.off_on_gas_kitchen
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.off_on_gas_kitchen
|
|
mode: single
|
|
- id: '1745089336243'
|
|
alias: Выкл подогрев чайника
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- automation.podogrev_chainika
|
|
from: 'on'
|
|
to: 'off'
|
|
conditions: []
|
|
actions:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.chainik
|
|
state: 'on'
|
|
then:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.chainik
|
|
mode: single
|
|
- id: '1745433087219'
|
|
alias: Gas_switch_kitchen
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.kukhnia_datchik_gaz
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
above: 1
|
|
below: 41
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_2
|
|
- switch.ventilation_kc868_a6_relay_3
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_1
|
|
mode: single
|
|
- id: '1745947343113'
|
|
alias: Включить 2-ю скорость вентиляции на кухне
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.kukhnia_datchik_gaz
|
|
above: 41
|
|
below: 110
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_1
|
|
- switch.ventilation_kc868_a6_relay_3
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ventilation_kc868_a6_relay_2
|
|
mode: single
|
|
- id: '1745947895625'
|
|
alias: Выключить 1-юскорость вентиляции на кухне
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.kukhnia_datchik_gaz
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
above: -1
|
|
below: 1
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_1
|
|
- switch.ventilation_kc868_a6_relay_2
|
|
- switch.ventilation_kc868_a6_relay_3
|
|
mode: single
|
|
- id: '1745953093205'
|
|
alias: Включить 3-ю скорость вентиляции кухня
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.kukhnia_datchik_gaz
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
above: 110
|
|
conditions: []
|
|
actions:
|
|
- if:
|
|
- condition: numeric_state
|
|
entity_id: sensor.gas_kitchen
|
|
above: 110
|
|
- condition: or
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.kukhnia_datchik_gaz
|
|
above: 110
|
|
- condition: and
|
|
conditions:
|
|
- type: is_connected
|
|
condition: device
|
|
device_id: 37a74ef6d3e9c0850b2db6b78d6c405c
|
|
entity_id: 7ca2b1da5cef85ab9134d6a21bed9e5a
|
|
domain: binary_sensor
|
|
then:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_1
|
|
- switch.ventilation_kc868_a6_relay_2
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_3
|
|
mode: single
|
|
- id: '1749912997155'
|
|
alias: Close_windows
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_windows_open
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- repeat:
|
|
sequence:
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.teplica_windows_open
|
|
state: 'on'
|
|
then:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
milliseconds: 500
|
|
- action: input_number.decrement
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: input_number.schetchik_okon
|
|
while:
|
|
- condition: numeric_state
|
|
entity_id: input_number.schetchik_okon
|
|
above: 0
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_windows_open
|
|
mode: single
|
|
- id: '1749913071010'
|
|
alias: Open_Windows
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_windows_close
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- repeat:
|
|
sequence:
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.teplica_windows_close
|
|
state: 'on'
|
|
then:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 11
|
|
milliseconds: 500
|
|
- action: input_number.increment
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: input_number.schetchik_okon
|
|
while:
|
|
- condition: numeric_state
|
|
entity_id: input_number.schetchik_okon
|
|
below: 100
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_windows_close
|
|
mode: single
|
|
- id: '1749998838216'
|
|
alias: Открыть окна теплицы
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.temperature_teplica
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
above: 21.1
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_windows_close
|
|
mode: single
|
|
- id: '1749998911896'
|
|
alias: Закрыть окна теплицы
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.temperature_teplica
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
below: 21
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_windows_open
|
|
mode: single
|
|
- id: '1750523316145'
|
|
alias: count_teplica_closed
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_windows_open
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- repeat:
|
|
sequence:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/windows
|
|
payload: '{"status":"Закрывается","total":{{states(''input_number.schetchik_okon'')}}}'
|
|
while:
|
|
- condition: state
|
|
entity_id: switch.teplica_windows_open
|
|
state: 'on'
|
|
mode: single
|
|
- id: '1750528740768'
|
|
alias: count_teplica_open
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_windows_close
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- repeat:
|
|
sequence:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/windows
|
|
payload: '{"status":"Открывается","total":{{states(''input_number.schetchik_okon'')}}}'
|
|
while:
|
|
- condition: state
|
|
entity_id: switch.teplica_windows_close
|
|
state: 'on'
|
|
mode: single
|
|
- id: '1750531090816'
|
|
alias: status_windows_tep_close
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_windows_open
|
|
from: 'on'
|
|
to: 'off'
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/windows
|
|
payload: '{"status":"Закрыта","total":{{states(''input_number.schetchik_okon'')}}}'
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.teplica_windows_open
|
|
state: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
then:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/windows
|
|
payload: '{"status":"Закрыта","total":{{states(''input_number.schetchik_okon'')}}}'
|
|
mode: single
|
|
- id: '1750531167353'
|
|
alias: status_windows_tep_open
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_windows_close
|
|
from: 'on'
|
|
to: 'off'
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/windows
|
|
payload: '{"status":"Открыта","total":{{states(''input_number.schetchik_okon'')}}}'
|
|
- if:
|
|
- condition: state
|
|
entity_id: switch.teplica_windows_close
|
|
state: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
then:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/windows
|
|
payload: '{"status":"Открыта","total":{{states(''input_number.schetchik_okon'')}}}'
|
|
mode: single
|
|
- id: '1750532958529'
|
|
alias: Счетчик окон
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- input_number.schetchik_okon
|
|
to:
|
|
from:
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/count/total
|
|
payload: '{{states(''input_number.schetchik_okon'')}}'
|
|
mode: single
|
|
- id: '1751382607118'
|
|
alias: total_kran
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_kran_vhod
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/kran
|
|
payload: '{"status":"Открыт"}'
|
|
mode: single
|
|
- id: '1751382763249'
|
|
alias: total_kran_close
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_kran_vhod_close
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- action: mqtt.publish
|
|
data:
|
|
evaluate_payload: false
|
|
qos: '0'
|
|
retain: false
|
|
topic: teplica/kran
|
|
payload: '{"status":"Закрыт"}'
|
|
mode: single
|
|
- id: '1751976782005'
|
|
alias: Автоматическое отключение крана по времени Основной
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_kran_vhod
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 15
|
|
milliseconds: 0
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_kran_vhod
|
|
mode: single
|
|
- id: '1751976863151'
|
|
alias: Автоматическое отключение крана по времени Основной-закр
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_kran_vhod_close
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 15
|
|
milliseconds: 0
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_kran_vhod_close
|
|
mode: single
|
|
- id: '1752169527747'
|
|
alias: on_in1
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- binary_sensor.ventilation_kc868_a6_in_1
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_2
|
|
- switch.ventilation_kc868_a6_relay_3
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ventilation_kc868_a6_relay_1
|
|
mode: single
|
|
- id: '1752169660219'
|
|
alias: on_in2
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- binary_sensor.ventilation_kc868_a6_in_2
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_1
|
|
- switch.ventilation_kc868_a6_relay_3
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ventilation_kc868_a6_relay_2
|
|
mode: single
|
|
- id: '1752170072527'
|
|
alias: off_in1-2
|
|
description: ''
|
|
triggers:
|
|
- type: turned_off
|
|
device_id: 7fa16ba4d96ed5604cfe5008b572112b
|
|
entity_id: 6934ee418768105f596a4d88f85efc21
|
|
domain: binary_sensor
|
|
trigger: device
|
|
- type: turned_off
|
|
device_id: 7fa16ba4d96ed5604cfe5008b572112b
|
|
entity_id: ea61a9ea5a0bae84c5fd4852b4e325bb
|
|
domain: binary_sensor
|
|
trigger: device
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.ventilation_kc868_a6_relay_1
|
|
- switch.ventilation_kc868_a6_relay_2
|
|
mode: single
|
|
- id: '1752222318230'
|
|
alias: Проветривание кухни
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.ventilation_humidity_sht30
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
above: 55
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ventilation_kc868_a6_relay_1
|
|
mode: single
|
|
- id: '1752225295583'
|
|
alias: Проветривание кухни выкл
|
|
description: ''
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.ventilation_humidity_sht30
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
below: 55
|
|
conditions: []
|
|
actions:
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ventilation_kc868_a6_relay_1
|
|
mode: single
|
|
- id: '1752423568805'
|
|
alias: teplica_kran_time
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_kran_vhod_2
|
|
to: 'on'
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.teplica_kran_close
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 15
|
|
milliseconds: 0
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_kran_vhod_2
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.teplica_kran_close
|
|
mode: single
|
|
- id: '1752423786437'
|
|
alias: Podval_time
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.podval_close
|
|
to: 'on'
|
|
- trigger: state
|
|
entity_id:
|
|
- switch.podval_open
|
|
to: 'on'
|
|
conditions: []
|
|
actions:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 30
|
|
milliseconds: 0
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- switch.podval_close
|
|
- switch.podval_open
|
|
mode: single
|