I’ve configured a basic monochromatic LED like this:
output:
- platform: esp8266_pwm
pin: GPIO5 #D1
id: pwm_output_d1
light:
- platform: monochromatic
name: "ESP Test Light"
id: light_1
output: pwm_output_d1
In Home Assistant, I do the following:
- Turn on the LED and set it to full brightness
- Turn off the LED
- Drag the slider up to a really low value (which turns on the LED and sets the brightness)
This has the effect of turning on the LED at the previous full brightness level, then fading the LED down to the new low value. This is an undesirable transition, particularly when its dark when I don’t want to be dazzled, if I happen to have turned off the lights when they were at a high brightness.
I’ve reproduced this with both the API and MQTT connectivity, on both a Wemos D1 and a H801 board.
Is this a known issue, as I’ve failed to find any previous reference to it, yet seems a fairly trivial expectation that the lights fade up from 0, if you turn them on whilst setting a brightness level.
Thanks
Sam