-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Upon restart of HA the Plex sensor shows as unknown instead of 0 when there are no streams #28485
Comments
Home Assistant release with the issue: Last working Home Assistant release (if known): Operating environment (Hass.io/Docker/Windows/etc.): Integration: Description of problem: Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant): |
I can't reproduce locally so it appears to be some kind of race condition. I'll need to think about how this could be happening. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please check when 0.102.2 is released. I think I've finally figured out the reason and applied a fix. |
This is fixed as of 0.102.2. |
Home Assistant release with the issue:
0.101.2
Last working Home Assistant release (if known):
0.100.2
Operating environment (Hass.io/Docker/Windows/etc.):
venv
Integration:
plex
https://www.home-assistant.io/integrations/plex/
Description of problem:
When plex is setup and the HA server is restarted when there are no active streams, the sensor shows as
unknown
instead of0
. If I start a stream and stop it, it will properly reflect 0 streams. In version 0.100.x the sensor would default to0
upon HA restart if there were no active streams.Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: