diff --git a/src/nodes/get-entities/GetEntitiesController.ts b/src/nodes/get-entities/GetEntitiesController.ts index 4a3d66277d..ad84f23877 100644 --- a/src/nodes/get-entities/GetEntitiesController.ts +++ b/src/nodes/get-entities/GetEntitiesController.ts @@ -170,7 +170,11 @@ export default class GetEntitiesController extends SendSplitController { break; } - if (rule.condition === PropertySelectorType.State) { + if ( + rule.condition === PropertySelectorType.State || + // If the condition is not set, it is a state condition + rule.condition === undefined + ) { const value = selectn(rule.property, state); const result = await this.#comparatorService.getComparatorResult(