Merge pull request #3 from AalianKhan/AalianKhan-patch-2

Fixed bug for template not working with entities that start with numbers
This commit is contained in:
Aalian Khan
2023-03-31 11:55:58 -04:00
committed by GitHub

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