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

Using the attribute option, wrong attribute is affected #71

Open
BrukerJan opened this issue Dec 28, 2023 · 0 comments
Open

Using the attribute option, wrong attribute is affected #71

BrukerJan opened this issue Dec 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@BrukerJan
Copy link

Checklist:

  • [x ] I updated to the latest version available
  • [x ] I cleared the cache of my browser

Release with the issue:
v1.13.0

Last working release (if known):

Browser and Operating System:
Crome/Edge + App on Android

Description of problem:
I'm using the card with a climate entity to change the value of the numeric attributes. This is card yaml:

  • type: custom:slider-button-card
    entity: climate.office
    slider:
    direction: left-right
    background: gradient
    use_state_color: false
    use_percentage_bg_opacity: false
    show_track: true
    toggle_on_click: false
    force_square: false
    show_attribute: false
    show_name: true
    show_state: true
    compact: true
    icon:
    show: false
    use_state_color: true
    tap_action:
    action: more-info
    icon: ''
    action_button:
    mode: custom
    icon: mdi:power
    show: false
    show_spinner: true
    tap_action:
    action: none
    attribute: max_temp
    show_attribute: true

The example is with the attribute max_temp. However, it doesn't matter which attribute i pick, activating the slider always change the value of the temperature attribute.

Activating the slider with any attribute should change the value of the actual attribute being used.

Javascript errors shown in the web inspector (if applicable):


Additional information:

@BrukerJan BrukerJan added the bug Something isn't working label Dec 28, 2023
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