Comments (8)
Just give us the ability to name the sensors entity. Then you can just add two sensors like below.
Right now it gets a random sensor.plex_recently_added_2 name which can change on the next reboot.
- platform: plex_recently_added
token: !secret plex_api_key
host: !secret docker_host
port: 32400
ssl: false
ssl_cert: false
download_images: false
max: 5
section_types:
- movie
- platform: plex_recently_added
token: !secret plex_api_key
host: !secret docker_host
port: 32400
ssl: false
ssl_cert: false
download_images: false
max: 5
section_types:
- show
Edit: I created a pull request with this feature. #26
from sensor.plex_recently_added.
To be honest, by library entirely might be useful.
I wonder how hard it would be to expose seperate sensors for each library dynamically.
from sensor.plex_recently_added.
Yeah, library is the way to go. When it grabs the section numbers we can just grab the "type" too (returns "movie" or "show").
from sensor.plex_recently_added.
I would also love to have one instance for each library, and even an on deck.
from sensor.plex_recently_added.
i made a copy of the .py file named plex2_recently_added.py and changed line 87 to "plex2_recently_added". Then made a duplicate sensor in HA , one with movies and one with shows...
from sensor.plex_recently_added.
Have not figured out a way to do on deck though, even though the address is there...just doesn't scrape correctly.
from sensor.plex_recently_added.
Thanks a ton, pulled your PR. This is now possible with the latest release.
from sensor.plex_recently_added.
Awesome :-)
from sensor.plex_recently_added.
Related Issues (20)
- [Feature request] recently added items on remote server HOT 1
- [Feature Request] Managed users differences HOT 1
- [Feature Request] Exclude watched from results HOT 4
- No version key in the manifest file
- Exclude item or library from results HOT 2
- [Feature Request] filter on (picture) libraries HOT 1
- plex_recently_added: Error on device update! HOT 2
- Platform not found HOT 1
- Corrupted thumbnail images HOT 1
- `device_state_attributes` property replaced with `extra_state_attributes` in HA core HOT 1
- [Feature Request] $date is in US format, makes it hard for people in the rest of the world to read HOT 2
- Not pulling in upcoming events HOT 1
- getting untested by HA error HOT 1
- Confusing/Incorrect Documentation HOT 4
- [Feature Request] Clicking a button on one of the lists plays selected media on plex HOT 9
- [Feature Request] Display 'Recently Added' from specific libraries only HOT 3
- After the update from 0.4.1 to 0.4.2 the thumbnails of the media are no longer shown HOT 20
- Failed to Log-in, certificate verification HOT 7
- [Feature Request] Music Library support HOT 3
- Plex items arenβt clickable HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensor.plex_recently_added.