forked from DigiLive/mushroom-strategy
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:
2
dist/mushroom-strategy.js
vendored
2
dist/mushroom-strategy.js
vendored
@@ -211,7 +211,7 @@ const createListOfFilteredStates = (entities, devices, definedAreas, startsWith)
|
||||
{
|
||||
statesList.push
|
||||
(
|
||||
"states." + entity.entity_id
|
||||
"states['" + entity.entity_id + "']"
|
||||
);
|
||||
}
|
||||
return statesList
|
||||
|
Reference in New Issue
Block a user