piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.56k stars 330 forks source link

[Bug]: UI is one state change behind #741

Open prjcarr opened 2 years ago

prjcarr commented 2 years ago

Current Behavior

Using the fan card, if I change the state, it takes about 5-15 seconds to update. I can force it to update quicker by changing the state again, but it lags one state change behind.

Eg. If I set the speed to 20% it will take about 5-15 seconds to update and go green. If I then quickly set it to 40%, I can see it go green and move to 20%. Then it about 5-15 seconds it will change to 40%.

Expected Behavior

The mushroom card should reflect the current state near instantly.

Steps To Reproduce

No response

Environment

OS: Ubuntu 20.04
Brower: chrome
Version: 2.1.3
Hassio: 20226.7

Anything else?

Similar to https://github.com/piitaya/lovelace-mushroom/issues/539

piitaya commented 2 years ago

Did you test with other non-mushroom card ?

prjcarr commented 2 years ago

Did you test with other non-mushroom card ?

Yes, and the changes are instant

A few more comments here on the same thing I am experiencing: https://www.reddit.com/r/homeassistant/comments/uybalf/comment/ia3ehrr/

prjcarr commented 2 years ago

Looking into this a bit more, it might be a conflict with the dashboard I am using - Dwains Dashboard. I used the mushroom fan card in the base HA theme and its working fine. Not sure why its playing up in Dwains Dashboard

piitaya commented 2 years ago

I didn't use Dwains Dashboard and I never had issue with my fan.

addvanced commented 1 year ago

I kinda have the same issue with lights, using ZHA.

when I toggle a group of lights, dim it or change the color, it doesn’t change in the UI until I do it again 1-5 times. Not quite sure how it syncs up with the actual state of the devices, if there might be a slight 1 second delay (eg. Light transition time or whatever).

but it’s really annoying, because I really like this theme/cards. But there’s something not functioning as is should.

jacobw commented 5 months ago

Possibly the same issue: when I use the mushroom climate card to change the temp, takes about 1-2 secs for the number to be updated. If I use the generic climate card to do the same it updates instantly. I assume this is just reflecting the number in the card instantly rather than confirming it has been actioned, but I think the user experience is worse with the delay.