@riddix/hamh 2.1.0-alpha.490 → 2.1.0-alpha.491

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149284,6 +149284,9 @@ function testMatchers(matchers, device, entity, mode = "any", entityState, label
149284
149284
  );
149285
149285
  }
149286
149286
  function testMatcher(matcher, device, entity, entityState, labels) {
149287
+ if (matcher.value == null) {
149288
+ return false;
149289
+ }
149287
149290
  switch (matcher.type) {
149288
149291
  case "domain":
149289
149292
  return entity.entity_id.split(".")[0] === matcher.value;