Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.81k stars 52 forks source link

Select Card not refreshing when input_select updated elsewhere #631

Closed KlumzyKlein closed 2 months ago

KlumzyKlein commented 3 months ago

When selecting an option on a Select Card (including as a Sub Button), it remembers that selection. If I update the input_select entity from another card or via an automation / script, then this change is not reflected on the Select Card.

E.g.
The example below are mushroom and bubble select cards mapped to the same input_select entity:

Defaulted input_select to "Pink" image

Set input_select via the Bubble Card to "Nightlight" - works fine, both update image

Set input_select via the Mushroom Card to "Dim Red" - only mushroom updates, Bubble retains it's previous value. image

Clooos commented 3 months ago

Thank you for the feedback, I will take a look at this!

Clooos commented 2 months ago

This issue is now fixed in the new betas 🥳

KlumzyKlein commented 2 months ago

Sorry just re-tested this one, also not fixed in beta 3. Tested with Select Card and Sub-Card. The Cards do update when I do a page refresh, but not before that.

Clooos commented 2 months ago

I've just released the v2.1.0-beta.4 🙂

KlumzyKlein commented 2 months ago

I've just released the v2.1.0-beta.4 🙂

Ahh sweet, give me a bit and will do some testing.

Clooos commented 2 months ago

Oh sorry I've just realized that it was not fixed indeed 😅

KlumzyKlein commented 2 months ago

Oh sorry I've just realized that it was not fixed indeed 😅

Can confirm, still an issue on beta 4

Clooos commented 2 months ago

I've just fixed it correctly this time, just waiting a bit for more feedbacks then I will probably release it as a stable release this time 🤞

Clooos commented 2 months ago

This is now fixed in the latest release!

https://github.com/Clooos/Bubble-Card/releases/tag/v2.1.0

KlumzyKlein commented 2 months ago

Can confirm, fixed in 2.1.0 :)