I want to be able to to have such config to get this card using the ācustom:useful-markdown-cardā which provides a lot of flexibility, see details in the above github
That might be a limitation of the card. Feedparser is actually broken for me right now due to an upstream issue in Python 3.7 and havenāt taken the time to downgrade to 3.6, so canāt play around with this, unfortunately.
However, what should work for sure is my config-template-card and the regular markdown-card. Youād do something like this:
Great job with both the sensor and the card. I would really like to use this for managing my favorite podcasts in home assistant. I am thinking of using the sensor against the rss-feed for the podcast, which contains all the info required, including the url to the media. Furthermore it would then be really cool if I could just click the row with the podcast I want to hear, and it would play on one of my media players configured in home assistant.
Have you considered implementing functionality for triggering hass services when one of the rows are clicked? I can imagine quite a few use cases where that would enable some cool features.
Thanks for the suggestion iantrich. I have actually had a look at the podcast-card, which looks very nice. My understanding is that the podcastcard is limited to gPodder? Quite a few of the podcasts I am interested in are not available on gPodder.
Do you have any plans for supporting other sources for the podcast-card in the future?
I donāt really know jinja well, but the data is a json object, not a list. I remember going back and forth on how to store the data and looking back a list would make more sense. PR welcome
And can you help me using regex ?
I want to find and replace āGoogle Maps, Media & Messaging and by Google LLCā to itāll strip that text.
Only thing I found was something like āstring|regex_replace(find=āā, replace=āā, ignorecase=False)ā but I cannot get that to work, see https://www.home-assistant.io/docs/configuration/templating/#regular-expressions.