Initial commit
This commit is contained in:
30
packages/main_hub/status_led.yaml
Normal file
30
packages/main_hub/status_led.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
output:
|
||||
- platform: ledc
|
||||
id: output_blue
|
||||
pin: 5
|
||||
- platform: ledc
|
||||
id: output_green
|
||||
pin: 14
|
||||
- platform: ledc
|
||||
id: output_red
|
||||
pin: 15
|
||||
|
||||
light:
|
||||
- platform: rgb
|
||||
name: "Status LED"
|
||||
red: output_red
|
||||
green: output_green
|
||||
blue: output_blue
|
||||
effects:
|
||||
- pulse:
|
||||
name: "Fast Pulse"
|
||||
transition_length: 0.5s
|
||||
update_interval: 0.5s
|
||||
- pulse:
|
||||
name: "Slow Pulse"
|
||||
transition_length: 1s
|
||||
update_interval: 1s
|
||||
- random:
|
||||
name: "Random Effect"
|
||||
transition_length: 1s
|
||||
update_interval: 2s
|
||||
Reference in New Issue
Block a user