-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
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
Radarr sensor issue #8250
Comments
@tboyce021, I found the issue and propose a tweak to https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/radarr.py#L217 I'll submit a PR, but wanted to post it up here first as it addresses the issue. def get_release_date(data):
"""Get release date."""
if 'physicalRelease' in data:
date = data['physicalRelease']
else:
date = data['inCinemas']
return date |
Could
Or an even shorter version if you're sure
Then just be sure that having a |
* Radarr sensor fix for issue home-assistant#8250 * Radarr sensor fix for issue home-assistant#8250
Home Assistant release (
hass --version
):0.47.1
Python release (
python3 --version
):3.6.1
Component/platform:
sensor.radarr
Description of problem:
Errors are logged and the upcoming monitored condition sensor entity never shows up.
Expected:
No errors logged and the entity exists (and is populated)
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
The text was updated successfully, but these errors were encountered: