Clooos / Bubble-Card

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

v2.3.0-beta.5 Slider card with 'preset_modes' sub-button does not actually set the preset #920

Closed QNimbus closed 4 days ago

QNimbus commented 1 week ago

Describe the bug
When selecting and activating a preset (e.g. 'Medium' or 'High'), the preset for the fan entity does not get set.

Expected behavior
The fan entity should be set to the selected preset.

Screenshots
image

Additional info This issue also occurred when I was using v2.3.0-beta.3, but I upgraded to v2.3.0-beta.5 to see if the issue would be resolved.

Informations (please complete the following information):

Clooos commented 1 week ago

Hi, ~can you provide your YAML for this card?~

Edit: This should be fixed 👌

QNimbus commented 1 week ago

This is the yaml for the card in question:

- type: custom:bubble-card
  card_type: button
  button_type: slider
  icon: fapro:fan
  show_last_changed: false
  name: Mechanische ventilatie
  slider_live_update: false
  show_attribute: true
  attribute: percentage
  sub_button:
    - icon: ""
      name: Preset
      show_arrow: true
      show_attribute: false
      show_state: false
      show_name: true
      show_icon: false
      entity: fan.mv_itho_468_cve_s_eco_he_fan
      select_attribute: preset_modes
      show_last_changed: false
      show_background: true
      state_background: false
Clooos commented 6 days ago

This should works now 🤞

https://github.com/Clooos/Bubble-Card/releases/tag/v2.3.0-beta.6

Clooos commented 4 days ago

Can you confirm this? I was not able to test it.

QNimbus commented 4 days ago

I can confirm that it works! Thanks for fixing this, absolutely awesome!

Clooos commented 4 days ago

Thank you for the feedback! Glad that it works now! 😃