-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathlight-bar.yaml
49 lines (44 loc) · 848 Bytes
/
light-bar.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
---
substitutions:
name: light-bar
friendly_name: Light Bar
ip: '10.6.6.101'
packages:
common: !include modules/common-8266.yaml
wifi: !include modules/common/wifi.yaml
logger:
baud_rate: 0
binary_sensor:
- platform: gpio
pin:
number: 5
mode: INPUT_PULLUP
inverted: true
name: Power Button
- platform: gpio
pin:
number: 4
mode: INPUT_PULLUP
inverted: true
name: Light Button
- platform: gpio
pin:
number: 13
mode: INPUT_PULLUP
inverted: true
name: Mic Button
# sensor:
# - platform: adc
# pin: A0
# name: "Noise Level"
# update_interval: 1s
light:
- platform: neopixelbus
num_leds: 30
pin: 1
variant: ws2812
name: "Light"
default_transition_length: 100ms
type: BRG
effects:
- addressable_rainbow: