mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Converted state.attributes to dict. Fixes Issue #1252
This commit is contained in:
parent
39bbfd14d9
commit
01df1f8458
@ -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