Clooos/Bubble-Card

[v2.0.0.beta-10]

willliamchan opened this issue Β· 23 comments

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):

  • OS: iOS / Windows
  • Browser: Edge
  • Bubble Card version: 2.0.0-beta10
  • Home Assistant version: 2024.5.4

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

Thank you! 🍻

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

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.

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

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

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

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.

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

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!

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 @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

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!

@willliamchan should be fixed by #540

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

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

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

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

hahaha ok!

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

@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 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.

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!

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)

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