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

Some attributes not recognized as 'sort_by' method #93

Open
Andrewpaps opened this issue Jun 13, 2024 · 1 comment
Open

Some attributes not recognized as 'sort_by' method #93

Andrewpaps opened this issue Jun 13, 2024 · 1 comment

Comments

@Andrewpaps
Copy link

Describe the bug:

Sort method working for some attributes (price) and not others (percent_off, sale_price etc.).

Config YAML:

type: custom:upcoming-media-card
entity: sensor.steam_wishlist_76561198005339201
max: 999
image_style: fanart
sort_by: percent_off

Components:

  1. Upcoming-Media-Card custom component (v0.5.5)
  2. Steam Wishlist custom component (v2.4.0)

HA Error:

Not logged.

Troubleshooting Guide:

Guide followed.

Home Assistant Version:

Latest (2024.6.2)

Screenshots:

image

Additional Context:

N/A

@mkanet
Copy link
Collaborator

mkanet commented Jun 13, 2024

@Andrewpaps thank you so much for letting me know! I was able to reproduce it and fixed it in Upcoming Media Card version 0.5.6. Please update Upcoming Media Card when HACS detects the new version. Let me know how it goes.
Note: You might have to delete your web browser's cache. Sometimes the old version gets stuck in cache.

PS: Steam Wishlist integration is also one of my favorites for UMC. This is what I am using currently:

entity: sensor.steam_wishlist_76561198117413333
title: Steam Wishlist
image_style: fanart
hide_empty: true
box_shadows: true
enable_tooltips: true
enable_transparency: true
collapse: price=🎫
sort_by: sale_price

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

No branches or pull requests

2 participants