I’m trying to use HA to send a noticifation when the recently added changes… In order to do this i thought i would make a sensor with the title of the most recently added serie.
- platform: template
sensors:
plex_added_tv_title:
friendly_name: "Plex added TV Serie Title"
value_template: "{{ state_attr('sensor.recently_added_tv', 'title') }}"
but it will not get the attribute data, i thin nk bacasue it is in a list item…
But it’s possible the data attribute is a json string, you’ll know if you the value ends up being a string representation of the title method, e.g. <built-in method title of str object at 0x7f6834efb9f0>.
Just added this card to pull latest info in from kodi. However when i add the card to my dashboard all the cards disapper and i get the following error in my log
thanks to @nfs for sharing the code of your layout. I took that as a base and restructured it to fit into a standard Lovelace card for use with mobile dashboards.
Still playing with the layout but seems to work across different providers that ive tested (trakt, kodi). Using Flex layout for the grid so naturally flows.
Hello. Sorry for the inconvenience. I am having problems with the recently added integration that brings me empty data. When I install the integration it is installed with this name “plex_recently_added”. Could it be that it doesn’t work for me? How do you change the name of the integration? I installed it from hacs but I don’t know if I can do that. I can’t find a solution to my problem.
When I hit the url with the token it returns an xml. I think that indicates it’s okay. At least the token right?
I also don’t know if this address should return this little information to me. But the server responds
For integrations that are not installed from hacs. Do we have to put the version number when we add the library? Yes that’s how it is. How do you find out which is the latest version? Thank you
The version number is unimportant it just simply has to be different in order to break the cache in the browser for the card. Version can literally be anything that is different
Just remove them from hacs and manually install them. There wont be any updates anyway. Backup the cards folder and remove from hacs and then restore the backup folder and edit the resource.
im really struggling to get manual install to work. custom element does not exist and the js file is in the right place and resources is set correctly. dont know what latest version is but dont think thats the issue. cache cleared, system restarted, tried another browser etc.
@Littlejoe
I also did this yesterday.
I put the js file to: www\custom-lovelace\upcoming-media-card
I clicked on configure in any UI page and then on the 3 dot menu “Manage ressources”
I added /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.4.3 and selected JavaScript module. As 0.4.3 was the latest release
I installed Plex recently added and added this code to one view: type: custom:upcoming-media-card entity: sensor.recently_added_movies title: Recently Downloaded