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

Filter by release day #104

Open
Gaffers2277 opened this issue Dec 15, 2024 · 1 comment
Open

Filter by release day #104

Gaffers2277 opened this issue Dec 15, 2024 · 1 comment

Comments

@Gaffers2277
Copy link

Describe the bug:

Im trying to filter my Sonarr and Radarr upcoming media by release day. I want a card for each day to build a custom calendar so i need to be able to filter the results by the release day. So card 1 has filtered by Monday and so on. I tried the filter using "filter: studio=TV Asahi" and it worked but when i tried "filter: release=monday" it didnt work. I assume its because the sensors attribute doesn't directly expose the day.

Config YAML:

type: custom:upcoming-media-card
entity: sensor.sonarr_sonarr_upcoming_media
title: Monday
enable_tooltips: true
enable_transparency: true
image_style: fanart
max: 12
filter: release=Monday

Components:

So far i have only tried this with the Sonarr Upcoming Media Component. The component is reporting the data from my sonarr instance.

HA Error:

Troubleshooting Guide:

I had a read through the troubleshoot guide and none applied but i did test this outside of another card like card mod or layout card. I also disabled ad block on the HA url.

Home Assistant Version:

Core 2024.12.3
Supervisor 2024.11.4
Operating System 14.0
Frontend 20241127.8

Screenshots:

Additional Context:

@mkanet
Copy link
Collaborator

mkanet commented Dec 16, 2024

@Gaffers2277 The Release attribute is the only attribute you won't be able to use the filter feature with since it's value is generated dynamically via release: $day, $time.

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