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

climate presets dont respect config order on Tile card #19686

Closed
3 of 4 tasks
Mariusthvdb opened this issue Feb 5, 2024 · 1 comment · Fixed by #20647
Closed
3 of 4 tasks

climate presets dont respect config order on Tile card #19686

Mariusthvdb opened this issue Feb 5, 2024 · 1 comment · Fixed by #20647

Comments

@Mariusthvdb
Copy link
Contributor

Mariusthvdb commented Feb 5, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

setting an order for the preset modes in the yaml for tile is not respected. Somehow the order seems fixed.
to me, in a seemingly random, but more importantly, counter intuitive way.

usecase: Ive set the l-r order depending on frequency...

Ive issued his as a bug, given we can re-order practically antything on Tile.

If you dont think this is a bug, please consider as FR.

Describe the behavior you expected

being able to re-order order of preset modes

Steps to reproduce the issue

  1. create Tile card for climate entity

...

What version of Home Assistant Core has the issue?

2024.2 beta

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

any

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

type: tile
entity: climate.voorkamer
features:
  - type: target-temperature
  - type: climate-preset-modes
    style: icons
    preset_modes:
      - home
      - asleep
      - away
      - no_frost
      - vacation
state_content:
  - current_temperature
  - temperature
  - preset_mode
  - state

Javascript errors shown in your browser console/inspector

No response

Additional information

fwiw, I've added a stack of buttons below the Tile card so you can see what I am trying to do

Scherm­afbeelding 2024-02-05 om 11 07 31
@karwosts
Copy link
Contributor

karwosts commented Feb 5, 2024

Yeah making it reorderable may have made sense, but it doesn't seem to have been coded that way.

The current behavior is to show the list of modes in the order provided by the entity attributes, but using the config list as a filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants