Merge pull request #1255 from miniconfig/splunk-fix-attributes

Converted state.attributes to dict in Splunk component
This commit is contained in:
Paulus Schoutsen 2016-02-14 07:51:48 -08:00
commit 3ced457089

View File

@ -71,7 +71,7 @@ def setup(hass, config):
{ {
'domain': state.domain, 'domain': state.domain,
'entity_id': state.object_id, 'entity_id': state.object_id,
'attributes': state.attributes, 'attributes': dict(state.attributes),
'time': str(event.time_fired), 'time': str(event.time_fired),
'value': _state, 'value': _state,
} }