-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathstartup.yaml
More file actions
34 lines (28 loc) · 864 Bytes
/
startup.yaml
File metadata and controls
34 lines (28 loc) · 864 Bytes
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
startup:
recorder:
include:
entities:
- binary_sensor.startup
template:
# Сенсор работающий минуту после старта системы
- trigger:
- platform: homeassistant
event: start
binary_sensor:
- name: startup
unique_id: startup
auto_off: 60
state: "true"
automation:
- alias: control_mosquitto_startup_reload
id: control_mosquitto_startup_reload
description: Перезагрузка аддона mosquitto при старте
initial_state: false
trigger:
- platform: homeassistant
event: start
action:
- delay: 00:01:30
- service: hassio.addon_restart
data:
addon: core_mosquitto