Automation for darker light at night after switch to tasmota-integration

Hi,

I have an automation that turns on the light in the hallway brightly during the day and darker at night. Trigger and condition work. Only when the darker night light comes on for the first time, the bright light flashes briefly and then becomes darker. The second time, the darker light comes on immediately.

The light bulb is a Teckin SB50 flashed with Tasmota 9.3.1. Until recently I had connected all Tasmota devices via the Mosquitto integration. After one of the last updates, I switched everything to the Tasmota integration and the behaviour has only appeared since then. Before that, the darker light came on immediately.

Does anyone have a tip on how I can prevent this? The purpose of the automation is not to be blinded by the bright light at night, but this does not work when the bright light flashes briefly.

alias: Flur Licht an
description: ''
trigger:
  - platform: state
    entity_id: binary_sensor.flur_presence
    to: 'on'
condition:
  - condition: numeric_state
    entity_id: sensor.flur_lightlevel
    below: '10'
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: input_boolean.night_mode
            state: 'on'
        sequence:
          - service: light.turn_on
            data:
              brightness_pct: 74
              color_temp: 337
            target:
              entity_id: light.flur
    default:
      - service: light.turn_on
        data:
          white: 255
        target:
          entity_id: light.flur
mode: single

OK, looks like that’s not a problem with automation. Much more a problem with the Tasmota integration. Don’t know if this is a bug or if I’m missing a setting. I did not have the problem when I connected the bulb without the Tasmota integration.

Steps to reproduce:

turn on green:

service: light.turn_on
data:
  color_name: green
target:
  entity_id: light.kitchen

turn off:

service: light.turn_off
target:
  entity_id: light.kitchen

green flashes briefly before the bulb turns blue

service: light.turn_on
data:
  color_name: blue
target:
  entity_id: light.kitchen