Hi!
I have an ESP32 with WLED firmware and white 12V led strip connected to it via MOSFET. WLED config is set to PWM Led strip.
Works fine, I can dim it and use effects and it’s fine.
The problem is in HA script that I would like to run.
alias: WLED1 Strobe
sequence:
- service: scene.create
data:
snapshot_entities:
- light.wled
scene_id: wled1 - service: light.turn_on
target:
entity_id: light.wled
data:
effect: Fade
brightness_pct: 100 - delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0 - service: light.turn_on
target:
entity_id: light.wled
data:
effect: Solid
enabled: true - service: scene.turn_on
data: {}
target:
entity_id: scene.wled1
mode: single0
So, when the camera detects a person I need LED strip to go in Fade effect for 6 seconds and get back to how it was before that.
It does work only if I don’t put brightness_pct: 100.
If I do have that option then “Fx” slider in WLED goes to 0 and there is no light coming from LED strip.
If I delete brightness_pct: 100 then it works fine… What is going on?