From 647ed7200939b3e04bddcca1b24ca2e2367ae7c7 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Sun, 24 May 2020 18:27:18 -0400 Subject: [PATCH] Update sensor.py --- custom_components/sonarr_upcoming_media/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):