Skip to content
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

Incorrect display when using Select (also when it Sub Buttom) #1307

Open
millgh opened this issue Mar 4, 2025 · 0 comments
Open

Incorrect display when using Select (also when it Sub Buttom) #1307

millgh opened this issue Mar 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@millgh
Copy link

millgh commented Mar 4, 2025

Image

Image

Image

Tried to remove current state with styles, but it can't applied "mdc-select__selected-text" force attribute. Use 2.5.0 release and beta 7 version of Bubble Card.

type: vertical-stack
cards:

  • type: custom:bubble-card
    card_type: button
    entity: humidifier.zhimi_ru_750323553_ca6
    scrolling_effect: false
    name: Humidifier 3
    icon: mdi:water-percent
    show_state: true
    button_action:
    tap_action:
    action: more-info
    sub_button:
    • entity: sensor.zhimi_ru_750323553_ca6_temperature_p_3_7
      show_background: 0
      show_state: 1
      icon: mdi:home-thermometer-outline
      show_name: false
      show_icon: true
      name: temp
    • entity: humidifier.zhimi_ru_750323553_ca6
      show_attribute: 1
      attribute: current_humidity
      icon: mdi:cloud-percent-outline
      name: hum
    • entity: sensor.zhimi_ru_750323553_ca6_water_level_p_2_7
      icon: mdi:water
      state_background: false
      visibility:
      • condition: state
        entity: sensor.zhimi_ru_750323553_ca6_water_level_p_2_7
        state: "2"
        name: full water
        tap_action:
        action: none
        double_tap_action:
        action: none
        show_background: true
    • entity: sensor.zhimi_ru_750323553_ca6_water_level_p_2_7
      icon: mdi:water-opacity
      show_background: true
      state_background: false
      visibility:
      • condition: state
        entity: sensor.zhimi_ru_750323553_ca6_water_level_p_2_7
        state: "1"
        name: water
        tap_action:
        action: none
    • entity: sensor.zhimi_ru_750323553_ca6_water_level_p_2_7
      icon: mdi:water-outline
      show_background: true
      show_name: false
      show_state: true
      visibility:
      • condition: state
        entity: sensor.zhimi_ru_750323553_ca6_water_level_p_2_7
        state: "0"
        name: zero water
        tap_action:
        action: none
        state_background: false
    • entity: select.zhimi_ru_750323553_ca6_fan_level_p_2_5
      show_icon: 0
      show_background: 1
      tap_action:
      action: more-info
      name: State
      show_last_changed: false
      show_attribute: true
      card_layout: large
      button_type: switch
      tap_action:
      action: toggle
      modules:
    • default
      styles: |-
      .mdc-select__selected-text {
      display: none !important;
      }
      title: Увлажнитель
@millgh millgh added the bug Something isn't working label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant