Wrong states in Lovelace ui

Hello everyone, it often happens that the status of the lamps in Lovelace is not correct. In reality, the lamp is switched off, but Lovelace still shows it on. What is the reason for this?
Can anyone give me any tips?

Mostly lamps that are integrated via zigbee2mqtt.

Home Assistant 2022.10.5
Supervisor 2022.10.1
Operating System 9.3
Frontend 20221010.0 - latest
Generic x86-64

Is it Lovelace or Home Assistant in general?
Does the history show the toggle of the lamp?
If you go to Developer Tools > States, does it show the right state?

Thx for reply.
Physical the lamp is off……on Lovelace it shows on.
I“ll try ist today - and have a look in dev tools……

Ok , so physically lamp was on….developer tools it was off?!

Anyone an idea?

Hi, I have the same situation with a device tracker.
Very strange, the device is offline, but in the UI status it is seen as “Home”.
When looking in the history it is defined as “Away”
In the developer tab the status is defined as “not_home”
I used this state to make a template condition to set the icon, which fails…

Hope this helps, and someone comes with a fix.


Home Assistant 2023.3.0b3
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230224.0 - latest

Still the same issue . Maybe some has an idea….

Seems I““‘m the only on who got that issue .

Nope! I’m seeing the same thing.

My lights are showing as ‘on’ in Home Assistant and Zigbee2MQTT while they are actually off.

For me this started to occur when I started to use transitions to turn lights on and off, but not sure if related.

Since it’s also showing the incorrect state in Zigbee2MQTT’s addon UI I think this is actually a Zigbee2MQTT problem

1 Like

Ok, Right - the states in z2mqtt also wrong.
Maybe in future there will be an fix.

any news here?

Not sure if this is a Z2MQTT issue is. I’m using Zigbee with deCONZ and since beginning of July, my blinds (cover) show its state as closed regardless of whether the cover is open or not.

Opening the cover will change the attribute on where the cover is (current_position) but won’t update the state.