Fix #61
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -72,7 +72,7 @@ export function entity_filter(hass, filter) {
|
|||||||
|
|
||||||
case "attributes":
|
case "attributes":
|
||||||
for(const [k, v] of Object.entries(value)) {
|
for(const [k, v] of Object.entries(value)) {
|
||||||
let attr = k.split(" ")[0];
|
let attr = k.trim();
|
||||||
let entityAttribute = entity.attributes;
|
let entityAttribute = entity.attributes;
|
||||||
while(attr && entityAttribute) {
|
while(attr && entityAttribute) {
|
||||||
let step;
|
let step;
|
||||||
|
|||||||
Reference in New Issue
Block a user