Skip to content

Sliders behaving as simple buttons - only able to toggle / no adjustment #1373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
promufa opened this issue Mar 29, 2025 · 10 comments
Open
Labels
bug Something isn't working Bug-Fix 🥳

Comments

@promufa
Copy link

promufa commented Mar 29, 2025

Describe the bug
I know a lot has changed in the sliders in the last few releases so I might have missed some breaking change but sliders are no longer working for me. They behave as simple buttons. Confirmed on both Android app and PC / web page. Currently on 2.5.0 beta 9. My dashboard is the old style (eg not sections) which may play a role here. Opening the "more info" (clicking on the icon on the left of the slider) opens the more info pop-up as expected and the slider there works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Create or have an old-style dashboard
  2. Create a pop-up vertical stack, add light sliders, save
  3. Open pop-up and try to adjust slider --> nothing happens.

Expected behavior
Slider should allow adjusting light levels by hold and drag.

Screenshots
If applicable, add screenshots to help explain your problem.

YAML
Adding yaml config of just one pop-up as an example

type: vertical-stack
cards:
  - type: custom:bubble-card
    card_type: pop-up
    hash: "#Living"
    name: Lounge
    icon: mdi:sofa
    entity: light.living_room_sconce
    bg_color: "#504151"
    width_desktop: 640px
    modules:
      - default
  - type: custom:bubble-card
    card_type: separator
    name: Lights
    icon: mdi:lightbulb-on-outline
  - type: custom:bubble-card
    card_type: button
    entity: light.living_room_sconce
    button_type: slider
    show_state: true
    name: Sconce
    button_action:
      hold_action:
        action: toggle
    slider_live_update: true
    modules:
      - default
  - type: custom:bubble-card
    card_type: button
    show_state: true
    entity: light.wooden_lamps_group
    name: Side lamps
    button_type: slider
    button_action:
      hold_action:
        action: toggle
    slider_live_update: true
  - type: custom:bubble-card
    card_type: separator
    name: Blinds
    icon: mdi:blinds-horizontal-closed
    sub_button:
      - name: Shade
        icon: mdi:blinds-horizontal
        show_name: true
        tap_action:
          action: call-service
          service: script.turn_on
          target:
            entity_id: script.shade_living_room_2
        show_background: true
  - type: custom:bubble-card
    card_type: cover
    entity: cover.large_blinds
    force_icon: true
    show_name: true
    show_icon: true
    name: Left blinds
    icon_down: mdi:archive-arrow-down
    icon_up: mdi:archive-arrow-up
    icon_open: mdi:window-shutter-open
    icon_close: mdi:window-shutter-settings
    show_state: true
    show_last_updated: true
    show_attribute: true
    attribute: current_position
  - type: custom:bubble-card
    card_type: cover
    entity: cover.small_blinds
    force_icon: true
    show_name: true
    show_icon: true
    name: Right blinds
    icon_down: mdi:archive-arrow-down
    icon_up: mdi:archive-arrow-up
    icon_open: mdi:window-shutter-open
    icon_close: mdi:window-shutter-settings
    show_state: true
    show_last_updated: true
    show_attribute: true
    attribute: current_position
  - type: custom:bubble-card
    card_type: separator
    name: Audio / Video
    icon: mdi:monitor-speaker
  - type: custom:bubble-card
    card_type: button
    entity: switch.projector_plug
    name: Projector
    icon: mdi:projector
    show_state: true
  - type: custom:bubble-card
    card_type: button
    entity: media_player.yamaha_av_rx_v579
    button_type: slider
    show_state: true
    slider_live_update: true
    show_attribute: false
    attribute: supported_features
    force_icon: false
    show_icon: true
  - type: custom:bubble-card
    card_type: button
    entity: switch.wake_on_lan_2
    name: Media centre
    icon: mdi:laptop
    show_state: true
    show_last_changed: false
    show_attribute: false
    attribute: friendly_name
  - type: custom:bubble-card
    card_type: separator
    name: Climate
    icon: mdi:home-thermometer-outline
  - square: false
    type: grid
    cards:
      - type: entity
        entity: sensor.humidity_living_temperature
        name: Temperature
        theme: Bubble
        state_color: true
      - type: entity
        entity: sensor.humidity_living_humidity
        name: Humidity
        state_color: true
        theme: Bubble
    columns: 2

Informations (please complete the following information):

  • OS: HAOS / android app / win10
  • Browser/App: HA app / Chrome
  • Bubble Card version: 2.5.0 beta 9
  • Home Assistant version: 2025.3.4

Additional context
Add any other context about the problem here.

Thank you! 🍻

@promufa promufa added the bug Something isn't working label Mar 29, 2025
@Clooos
Copy link
Owner

Clooos commented Apr 17, 2025

Yes indeed! I realized that a few days after the release, but I just fixed it.

This fix will be part of the next beta 🙂

@promufa
Copy link
Author

promufa commented Apr 17, 2025

Thank you very much! Looking forward to the next release

@promufa
Copy link
Author

promufa commented Apr 24, 2025

This seems to persist in v3.0.0 beta2

@promufa promufa closed this as completed Apr 24, 2025
@promufa promufa reopened this Apr 24, 2025
@Clooos
Copy link
Owner

Clooos commented Apr 25, 2025

I just released a new beta to fix some issues, but this one will be next!

Thank you for the feedback!

@Clooos
Copy link
Owner

Clooos commented Apr 25, 2025

Just to be sure, have you try to hold it to slide with it? The new behavior is a bit different than the previous one, and can be reverted in the editor if needed, in the Slider settings.

@promufa
Copy link
Author

promufa commented Apr 25, 2025

Thanks for looking into this. Whether I hold on some position on the slider bar or slide over directly the effect is these same unfortunately, just toggle.

@Clooos
Copy link
Owner

Clooos commented May 1, 2025

Hi! I forgot to mention it, but this issue should be fully fixed now, can you confirm this? 🙂

@promufa
Copy link
Author

promufa commented May 2, 2025

Hi!, Nope, still an issue for me. I have reverted to the old style and that work OK. It looks like other people are not seeing this though. Is there something off with my setup maybe ?

@Clooos
Copy link
Owner

Clooos commented May 2, 2025

Are you sure the update was done correctly? Sometime HACS doesn't clear the cache correctly. The best way to be sure is to check the version at the bottom of the Bubble Card editor.

Also, like I said before, you need to hold then slide, but I guess you already tried that.

I really want to reproduce this issue, but still unsure how.

@promufa
Copy link
Author

promufa commented May 5, 2025

Hey! I can confirm the version is 3.0.0-beta.5.
Adding a short clip showing the behaviour I see on a desktop PC.

Github.-.Bubble-Card.1373.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Bug-Fix 🥳
Projects
None yet
Development

No branches or pull requests

2 participants