mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 01:36:49 +00:00
Fix group more info overwriting data
This commit is contained in:
parent
44ed827145
commit
f3808ff4d4
@ -71,7 +71,7 @@ Polymer({
|
||||
if (states && states.length > 0) {
|
||||
baseStateObj = states[0];
|
||||
|
||||
groupDomainStateObj = Object.assign(baseStateObj, {
|
||||
groupDomainStateObj = Object.assign({}, baseStateObj, {
|
||||
entity_id: stateObj.entity_id,
|
||||
attributes: Object.assign({}, baseStateObj.attributes)
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user