Uncaught TypeError: a.localeCompare is not a function
heikkih opened this issue · comments
There might be instances where the variables are not a string, and then localeCompare fails.
Adding a toString() will fix this.
I'm adding a PR for this.
Highly Flexible Lovelace Card - arbitrary contents/columns/rows, regex matched, perfect to show appdaemon created content and anything breaking out of the entity_id + attributes concept
heikkih opened this issue · comments
There might be instances where the variables are not a string, and then localeCompare fails.
Adding a toString() will fix this.
I'm adding a PR for this.