mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Merge pull request #1255 from miniconfig/splunk-fix-attributes
Converted state.attributes to dict in Splunk component
This commit is contained in:
commit
3ced457089
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user