Sonoff B1 (RGBWW) brightness problems

Just tried out a Sonoff B1 flashed with ESPhome, not very sucessful I must say :confused:

When changing the brightness it’s only for the RGB channels, and not for the CW/WW channels.
That means for me to be able to dim the light, I must set the brightness to 0% and then adjust the white value. Not very smart when Google adjusts the brightness alone, hence being unable to control brightness from Google.

Any ideas to solve this?

A good start might be to post the contents of your yaml file. We are not mind readers.

Sorry - forgot to write that it’s the example in the docs that’s used.

  devicename: bedroom_ceiling_1
  upper_devicename: Bedroom Ceiling 1
  platform: ESP8266
  board: esp01_1m

<<: !include .common.yaml

  - platform: status
    name: "$upper_devicename Status"

  data_pin: GPIO12  # GPIO13 for AiLight
  clock_pin: GPIO14  # GPIO15 for AiLight
  num_channels: 6
  num_chips: 2

  - platform: my9231
    id: output_blue
    channel: 0
  - platform: my9231
    id: output_red
    channel: 1
  - platform: my9231
    id: output_green
    channel: 2
  - platform: my9231
    id: output_warm_white
    channel: 4
  - platform: my9231
    id: output_cold_white
    channel: 5

  - platform: rgb
    name: ${upper_devicename}
    red: output_red
    green: output_green
    blue: output_blue

For future viewers, it needs a hard reboot so make sure it has no power for a couple seconds.

I upgraded from espurna and saw the same ish problems.