mirror of
https://github.com/esphome/esphome.git
synced 2026-08-23 06:36:23 +00:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
36 lines
757 B
YAML
36 lines
757 B
YAML
esphome:
|
|
name: light-effect-zero-bright
|
|
host:
|
|
api: # Port will be automatically injected
|
|
logger:
|
|
level: DEBUG
|
|
|
|
output:
|
|
- platform: template
|
|
id: pulse_output
|
|
type: float
|
|
write_action:
|
|
- logger.log:
|
|
format: "PULSE_OUTPUT:%.4f"
|
|
args: [state]
|
|
|
|
light:
|
|
- platform: monochromatic
|
|
name: "Test Pulse Light"
|
|
id: test_pulse_light
|
|
output: pulse_output
|
|
effects:
|
|
- pulse:
|
|
name: "Fast Pulse"
|
|
transition_length: 20ms
|
|
update_interval: 50ms
|
|
min_brightness: 0%
|
|
max_brightness: 100%
|
|
- strobe:
|
|
name: "Fast Strobe"
|
|
colors:
|
|
- state: true
|
|
duration: 50ms
|
|
- state: false
|
|
duration: 50ms
|