mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-10 02:46:38 +00:00
Fix group toggle not showing
This commit is contained in:
parent
40ff847f2d
commit
4a85f5fa63
@ -41,6 +41,6 @@ export default new Polymer({
|
||||
}
|
||||
|
||||
// only show if we can toggle 2+ entities in group
|
||||
return states.reduce((sum, state) => sum + canToggle(state.entityId)) > 1;
|
||||
return states.reduce((sum, state) => sum + canToggle(state.entityId), 0) > 1;
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user