Dimming Light shows Flash Icons instead of on/off slider

Hello,

I am new to HA (installed it last week), this is my first post. I am using FHEM for 5 years, but I never liked the frontend options. So I am trying to mirror devices in HA via MQTT Bridge to make use of lovelace.

I started with 4 lamps in configuration.yaml that are enocean devices on the fhem side and now appear as light entities in HA. One of the enocean actors (lamp4) is a dimmer, the others are on/off.

When I create a vertical stack in lovelace, the on/off lights are looking different as the dimmable light, which has two “flash” icons. How do a get the dimmable lamp to look the same ?

Definition of the ligths:

light:
  - platform: mqtt
    name: "Treppenhaus 2.OG"
    optimistic: false
    retain: false
    command_topic: "fhem/lamp1/set"
    state_topic: "fhem/lamp1/state"
    payload_on: "B0"
    payload_off: "BI"
  - platform: mqtt
    name: "Treppenhaus 1.OG"
    optimistic: false
    retain: false
    command_topic: "fhem/lamp2/set"
    state_topic: "fhem/lamp2/state"
    payload_on: "B0"
    payload_off: "BI"
  - platform: mqtt
    name: "Treppenhaus UG"
    optimistic: false
    retain: false
    command_topic: "fhem/lamp3/set"
    state_topic: "fhem/lamp3/state"
    payload_on: "B0"
    payload_off: "BI"
  - platform: mqtt
    name: "Esstisch"
    optimistic: true
    retain: false
    brightness_scale: 100
    on_command_type: first
    command_topic: "fhem/lamp4/set"
    brightness_command_topic: "fhem/lamp4/setdim"
    brightness_state_topic: "fhem/lamp4/dim"
    state_topic: "fhem/lamp4/state"
    payload_on: "on"
    payload_off: "off"

This should be simple, but I have been trying to figure this out for several hours now. Any hint would be appreciated.

TIA, gadget

  • See if switching on and off solves the problem.
    -Try with optimistic: true on your dimmer.
1 Like

Hi,

I have set optimistic: false on the dimmer now (was set to true), now the same as the on/off devices. This solved the issue.

Incredible … but why ?

Thanks,

gadget