Clooos / Bubble-Card

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

[v2.0.0.beta-10] #533

Open willliamchan opened 1 month ago

willliamchan commented 1 month ago

For any feature request you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/feature-requests
For any question you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/q-a

Describe the bug
I have a bubble card (state) and with beta-10 the state carries on not updating until a page refresh.

To Reproduce
Steps to reproduce the behavior:

  1. Toggle On the card, state updated.
  2. Toggle Off the card, state not update.

Expected behavior
state updates without page refresh

Screenshots

Informations (please complete the following information):

Additional context
Attached both card.yaml and sensor.yaml for your reference. card.txt template_sensor.txt

Thank you! 🍻

Clooos commented 1 month ago

Hi, was it working with a previous version? And is it working with another button type?

willliamchan commented 1 month ago

Hi, was it working with a previous version? And is it working with another button type?

I started using that since beta.8 and so far, it never works. And I can't recall I am using it with other card so I'll leave this for the other to answer.

Clooos commented 1 month ago

And is it happening with all you entities or just with this template sensor?

willliamchan commented 1 month ago

Now that you mention. Yes it seems happens to template sensor only!

Clooos commented 1 month ago

Just to be sure, do you have this issue if you use another card, like the tiles?

willliamchan commented 1 month ago

Just to be sure, do you have this issue if you use another card, like the tiles?

Just tested using "tile" card and the tile card did update but not bubble card.

Clooos commented 1 month ago

I still have no clue but @brunosabot will try to take a look at this πŸ™‚

willliamchan commented 1 month ago

I still have no clue but @brunosabot will try to take a look at this πŸ™‚

Just found also it won't refresh if it is an "input_select" too. Not sure if that helps. Cheers!

brunosabot commented 1 month ago

Hey @willliamchan! I can't reproduce this issue myself. Are you able to copy us the yaml for the bubble card and for the tile so I can check in the very same situation? Thanks!

willliamchan commented 1 month ago

Hey @willliamchan! I can't reproduce this issue myself. Are you able to copy us the yaml for the bubble card and for the tile so I can check in the very same situation? Thanks!

Hey Bruno! Thanks for getting back, please see below and let me know if you need anything else.

Dashboard_Yaml.txt sensor.bedside_countdown_elapsed_time_yaml.txt state_update_issue

willliamchan commented 1 month ago

Hey @willliamchan! I can't reproduce this issue myself. Are you able to copy us the yaml for the bubble card and for the tile so I can check in the very same situation? Thanks!

Hey Bruno! Thanks for getting back, please see below and let me know if you need anything else.

Dashboard_Yaml.txt sensor.bedside_countdown_elapsed_time_yaml.txt state_update_issue state_update_issue

For the sensor, they are my bedside lamps and I got two modes, one is a countdown where it will turn off after 30mins (and the state is a timer), and the other one is "Light Up" and it's for before bed time and I'd like it to ignore states of mmwave/motion sensors. Thanks again for looking at it!

brunosabot commented 1 month ago

@willliamchan should be fixed by #540

willliamchan commented 1 month ago

Thanks!


William Chan

T +44 (0) 789 888 8686

E @.***


From: Bruno Sabot @.> Sent: Tuesday, May 28, 2024 8:22:13 PM To: Clooos/Bubble-Card @.> Cc: willliamchan @.>; Mention @.> Subject: Re: [Clooos/Bubble-Card] [v2.0.0.beta-10] (Issue #533)

@willliamchanhttps://github.com/willliamchan should be fixed by #540https://github.com/Clooos/Bubble-Card/pull/540

β€” Reply to this email directly, view it on GitHubhttps://github.com/Clooos/Bubble-Card/issues/533#issuecomment-2135952568, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANBLBDOJGIRMDFZ75DSM3SDZETKOLAVCNFSM6AAAAABIJB74BKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVHE2TENJWHA. You are receiving this because you were mentioned.Message ID: @.***>

Clooos commented 1 month ago

I forgot to mention it but I've added this fix in the new release:

https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-rc.1

willliamchan commented 1 month ago

Happy weekend! Thanks for getting back to this and I can confirm that it is still not working with 2.0.0-rc1.

Clooos commented 1 month ago

I will check if I've correctly added the fix πŸ˜…

willliamchan commented 1 month ago

I will check if I've correctly added the fix πŸ˜…

hahaha ok!

willliamchan commented 4 weeks ago

Almost forgot this one, still the same behaviour with v2.0.1.

brunosabot commented 3 weeks ago

@willliamchan i create the same behavior on my side and it's working (at least how I understand your need)

Here the video. Am I missing something? https://github.com/Clooos/Bubble-Card/assets/752030/5a11c1e4-d806-482e-b9ff-1fbc16c3a49a

willliamchan commented 3 weeks ago

@willliamchan i create the same behavior on my side and it's working (at least how I understand your need)

Here the video. Am I missing something? https://github.com/Clooos/Bubble-Card/assets/752030/5a11c1e4-d806-482e-b9ff-1fbc16c3a49a

You are right I can get the same switching between timer and LightUp, but when I toggle off either by tap or double tap the state won’t change without a refresh.

brunosabot commented 2 weeks ago

Hey @willliamchan! I fixed something in #578, but TBH, I'm not sure it solves your issue. I didn't 100% get how it works. It's shipped i the version 2.0.4. Let me know!

willliamchan commented 2 weeks ago

Hey @willliamchan! I fixed something in #578, but TBH, I'm not sure it solves your issue. I didn't 100% get how it works. It's shipped i the version 2.0.4. Let me know!

Thank you so much! Unfortunately with 2.0.4 it is still the same behaviour, it picks up the ON state (I said becoz I had tap and double tap configured for different things and both using input_boolean.) but not OFF state (when input_boolean switch from ON to OFF)

brunosabot commented 2 weeks ago

Damned. Can you tell me the exact steps to reproduce? I'm not sure I fully understand the usage.