This commit is contained in:
Thomas Lovén 2020-01-07 20:52:41 +01:00
parent 161300d7e9
commit 4398cb44b1

View File

@ -80,7 +80,7 @@ export function entity_filter(hass, filter) {
entityAttribute = entityAttribute[step];
}
if(entityAttribute === undefined
|| (v && !match(v, entityAttribute))
|| (v !== undefined && !match(v, entityAttribute))
)
return false;
continue;