From 01df1f8458a9c94478b2637a79f2946a5904d027 Mon Sep 17 00:00:00 2001 From: miniconfig Date: Sun, 14 Feb 2016 10:47:46 -0500 Subject: [PATCH] Converted state.attributes to dict. Fixes Issue #1252 --- homeassistant/components/splunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/splunk.py b/homeassistant/components/splunk.py index e7c9de6e073..fd9a15b67ae 100644 --- a/homeassistant/components/splunk.py +++ b/homeassistant/components/splunk.py @@ -71,7 +71,7 @@ def setup(hass, config): { 'domain': state.domain, 'entity_id': state.object_id, - 'attributes': state.attributes, + 'attributes': dict(state.attributes), 'time': str(event.time_fired), 'value': _state, }