Converted state.attributes to dict. Fixes Issue #1252

This commit is contained in:
miniconfig committed 2016-02-14 10:47:46 -05:00
1 parent 39bbfd14d9
commit 01df1f8458
1 file changed
+1 -1
+1 -1
View File
@@ -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,
}