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

[Feature Request]: Templating Support #387

Open
jwagner0789 opened this issue Apr 26, 2024 · 4 comments
Open

[Feature Request]: Templating Support #387

jwagner0789 opened this issue Apr 26, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@jwagner0789
Copy link

Is your feature request related to a problem?

No response

Feature Request

Just curious if button overrides support templating? I have Roku that uses IR to control the TV's input. I'm trying to create a button that will cycle through the physical inputs of the TV via a media_player.select_source call via the TV manufactures integration. However, I need to use a template to select a source based on what the current source is. I can write a script to do this but was just trying not too.

Side note, great card! Saw it on BeardedTinker channel and instantly loaded it. Thanks!

Additional Comments (optional)

No response

@jwagner0789 jwagner0789 added the enhancement New feature or request label Apr 26, 2024
@PRProd
Copy link
Owner

PRProd commented Apr 26, 2024

Greetings @jwagner0789!

Thanks for your kind words! BeardedTinker did a great job with that video, didn't he?

Templating support isn't something that's been requested before, but your use case makes a lot of sense. You are absolutely correct that you could write a script to do that, and it might be the best route to take at this time.

Just a curiosity question: I've heard this from a few people, that they'd rather not write a script if it can be avoided. I'm trying to understand the hesitancy. The only thing I can think of is community sharing of YAML vs needing to share YAML and a script. I'm probably missing something obvious. Can you offer any insight for me?

@PRProd PRProd changed the title [Feature Request]: [Feature Request]: Templating Support Apr 26, 2024
@jwagner0789
Copy link
Author

Ok thanks information and the quick response!

Honestly, its just for simplicity and time. I'm on my mobile more than my computer and if there is an enhancement or bug that needs addressed quickly, its a lot easier and quicker for me to troubleshoot it on my phone by going directly to the location of the card vs having to bounce back and forth between card and script. Hopefully, that makes sense.

@PRProd
Copy link
Owner

PRProd commented Apr 26, 2024

It does! Thanks for enlightening me. 😄

@PRProd
Copy link
Owner

PRProd commented Jul 8, 2024

@jwagner0789 ~

I haven't forgotten about this, just been busy with other things. I still want to investigate implementing your ideas. Thanks for your patience and understanding.

-Doug

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

No branches or pull requests

2 participants