ESPHome light state remember and brightness range

I tried that before, but it makes a really weird effect. when I change the brightness or color of my WS2812 everything flickers like crazy for a second, It is really weird.
And the state of WS2812 does not recover.

esphome:
name: pracovnasvetla
platform: ESP8266
board: nodemcuv2
esp8266_restore_from_flash: true
wifi:
ssid:
password: 
output:
- platform: esp8266_pwm
  pin: D1
  frequency: 1000 Hz
  id: pwm_output
light:
- platform: monochromatic
  output: pwm_output
  name: "Pracovna Light"
- platform: fastled_clockless
  chipset: WS2812
  pin: GPIO12
  num_leds: 80
  rgb_order: RGB
  name: "FastLED WS2811 Light"