-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsonantik.yaml
executable file
·66 lines (60 loc) · 1.3 KB
/
sonantik.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
esphome:
name: sonantik
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "IXtLv6At6abIVZk2wnVF26nRmFDH5PKsGLWszjqGlNc="
services:
- service: ring_short
then:
- switch.turn_on: ring
- delay: 15ms
- switch.turn_off: ring
- service: ring_three_short
then:
- switch.turn_on: ring
- delay: 50ms
- switch.turn_off: ring
- delay: 300ms
- switch.turn_on: ring
- delay: 50ms
- switch.turn_off: ring
- delay: 300ms
- switch.turn_on: ring
- delay: 50ms
- switch.turn_off: ring
- service: ring_one
then:
- switch.turn_on: ring
- delay: 0.5s
- switch.turn_off: ring
- service: ring_three
then:
- switch.turn_on: ring
- delay: 0.2s
- switch.turn_off: ring
- delay: 0.2s
- switch.turn_on: ring
- delay: 0.2s
- switch.turn_off: ring
- delay: 0.2s
- switch.turn_on: ring
- delay: 0.2s
- switch.turn_off: ring
ota:
password: "8a6c9a20684f18e102fa334484e87742"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
switch:
- platform: gpio
inverted: true
id: ring
pin: 33
name: sonantik