Fixed bug for template not working with entities that start with numbers

This commit is contained in:
Aalian Khan
2023-03-31 11:54:44 -04:00
committed by GitHub
parent 5f9b9286cb
commit ae259021cc

View File

@@ -211,7 +211,7 @@ const createListOfFilteredStates = (entities, devices, definedAreas, startsWith)
{ {
statesList.push statesList.push
( (
"states." + entity.entity_id "states['" + entity.entity_id + "']"
); );
} }
return statesList return statesList