-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
45 lines (45 loc) · 1.22 KB
/
automations.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
- id: '1671395674273'
alias: TurnOFF_HeaterRelay2@Bytovka
description: выключить второе реле sonoff в бытовке после прогрева до 3С
trigger:
- platform: numeric_state
entity_id: sensor.wemosd1mini_bme280_temperature_2
for:
hours: 0
minutes: 5
seconds: 0
above: 3
condition: []
action:
- service: homeassistant.turn_off
data: {}
target:
entity_id: switch.sonoff2gangs_relay
mode: single
- id: '1671395880337'
alias: TurnON_HeaterRelay2@Bytovka
description: включить реле2 sonoff в бытовке когда температура ниже 1С
trigger:
- platform: numeric_state
entity_id: sensor.wemosd1mini_bme280_temperature_2
for:
hours: 0
minutes: 5
seconds: 0
below: 1
condition: []
action:
- service: homeassistant.turn_on
data: {}
target:
entity_id: switch.sonoff2gangs_relay
mode: single
- id: '1677911671780'
alias: Low battery level detection & notification for all battery sensors
description: notify_me script used
use_blueprint:
path: gmlupatelli/low_battery_notification.yaml
input:
actions:
- service: script.notify_me
data: {}