diff --git a/custom_components/sonarr_upcoming_media/sensor.py b/custom_components/sonarr_upcoming_media/sensor.py index 1490d8f..e914b02 100644 --- a/custom_components/sonarr_upcoming_media/sensor.py +++ b/custom_components/sonarr_upcoming_media/sensor.py @@ -132,7 +132,7 @@ def device_state_attributes(self): except: pass card_json.append(card_item) - attributes['data'] = json.dumps(card_json) + attributes['data'] = card_json return attributes def update(self):