From ae259021cc82558b2913f4990e5bbbc5bf63939e Mon Sep 17 00:00:00 2001 From: Aalian Khan Date: Fri, 31 Mar 2023 11:54:44 -0400 Subject: [PATCH] Fixed bug for template not working with entities that start with numbers --- dist/mushroom-strategy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/mushroom-strategy.js b/dist/mushroom-strategy.js index 910b2a9..3f60749 100644 --- a/dist/mushroom-strategy.js +++ b/dist/mushroom-strategy.js @@ -211,7 +211,7 @@ const createListOfFilteredStates = (entities, devices, definedAreas, startsWith) { statesList.push ( - "states." + entity.entity_id + "states['" + entity.entity_id + "']" ); } return statesList