AutomationDataset/a1ex-ak/a1ex-ak_automations.yaml

177 lines
4.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- alias: ВКЛ-ВЫКЛ_2ЭтажОтопл
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.heat_2floor_on_off
action:
- if:
- condition: state
entity_id: input_boolean.heat_2floor_on_off
state: 'on'
then:
- service: script.heat_2floor_on
data: {}
else:
- service: script.heat_2floor_off
data: {}
mode: single
- alias: ВКЛ-ВЫКЛ_РежимОтопл
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.heat_chalet_on_off
action:
- if:
- condition: state
entity_id: input_boolean.heat_chalet_on_off
state: 'on'
then:
- service: script.heat_chalet_none
data: {}
else:
- service: script.heat_chalet_away
data: {}
mode: single
- alias: ВКЛ-ВЫКЛ-Режим-ВеснаОсень
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.heat_chalet_spraut_on_off
condition: []
action:
- if:
- condition: state
entity_id: input_boolean.heat_chalet_spraut_on_off
state: 'on'
then:
- service: script.heat_chalet_spraut_on
data: {}
else:
- service: script.heat_chalet_away
data: {}
mode: single
- alias: tuyazb_integration_on
description: ''
triggers:
- trigger: state
entity_id:
- switch.tuyazb_0xa4c1388df3fdf480
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 1
conditions: []
actions:
- type: turn_on
device_id: 5d47d833dd229c8fe3dece69f9b4c3d2
entity_id: bc30b7c0e11c61a5510fa565c932d664
domain: switch
mode: single
- alias: ВКЛ-Колодец_1.6С
description: ''
trigger:
- type: temperature
platform: device
device_id: 91ebebed65ad5ca0ca0254cc62dbeb87
entity_id: a02d43720fb39322a85cc9215087a043
domain: sensor
below: 1.6
condition:
- condition: device
type: is_off
device_id: 3005e6b26f62ca6de64114d2b25a7582
entity_id: 936d7c6b7da0ddd844fab246ed06e6a0
domain: switch
for:
hours: 0
minutes: 0
seconds: 5
action:
- type: turn_on
device_id: 3005e6b26f62ca6de64114d2b25a7582
entity_id: 936d7c6b7da0ddd844fab246ed06e6a0
domain: switch
mode: single
- alias: ВЫКЛ-Колодец_7С
description: ''
trigger:
- type: temperature
platform: device
device_id: 91ebebed65ad5ca0ca0254cc62dbeb87
entity_id: a02d43720fb39322a85cc9215087a043
domain: sensor
above: 7
condition:
- condition: device
type: is_on
device_id: 3005e6b26f62ca6de64114d2b25a7582
entity_id: 936d7c6b7da0ddd844fab246ed06e6a0
domain: switch
for:
hours: 0
minutes: 0
seconds: 5
action:
- type: turn_off
device_id: 3005e6b26f62ca6de64114d2b25a7582
entity_id: 936d7c6b7da0ddd844fab246ed06e6a0
domain: switch
mode: single
- alias: Zigbee2MQTT Restart
description: ''
triggers:
- minutes: '*'
trigger: time_pattern
conditions:
- condition: state
entity_id: binary_sensor.zigbee2mqtt_running
state: 'off'
for:
hours: 0
minutes: 0
seconds: 0
actions:
- repeat:
until:
- condition: state
entity_id: binary_sensor.zigbee2mqtt_running
state: 'on'
for:
hours: 0
minutes: 5
seconds: 0
sequence:
- if:
- condition: state
entity_id: binary_sensor.zigbee2mqtt_running
state: 'off'
then:
- data:
addon: 45df7312_zigbee2mqtt
action: hassio.addon_start
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- data: {}
target:
entity_id: binary_sensor.zigbee2mqtt_running
action: homeassistant.update_entity
else:
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- data: {}
target:
entity_id: binary_sensor.zigbee2mqtt_running
action: homeassistant.update_entity
mode: single