custom-components/sensor.plex_recently_added

sensor not getting generated properly

kdoh82 opened this issue · 1 comments

On Homeassistant 0.107.0 and the newest 0.2.9 version of the plex recently added component. When I try to reload HA I get the following error:

image

Also see this error in logs as well when reloading the container:

image

Looks like the custom-component is now trying to create a device tracker rather than a sensor? idk. This is new to me so not sure. Had this working on a previous version of HA. Here's my configuration.yaml snip for reference:

Plex_Recently_Added Movies Sensor Integration

  • platform: plex_recently_added
    name: Recently Added Movies # will create sensor.recently_added_movies
    token: !secret X_Plex_Token
    host: !secret plex_server_IP
    port: 32400
    section_types:
    • movie

Plex_Recently_Added Shows Sensor Integration

  • platform: plex_recently_added
    name: Recently Added TV # will create sensor.recently_added_tv
    token: !secret X_Plex_Token
    host: !secret plex_server_IP
    port: 32400
    section_types:
    • show

Let me know if there is anything else you need from me to help diagnose.

Piece of configuration was accidentally added causing this section of the config to sit outside the "sensors" section. Resolved by removing the offending config.