custom-cards / flex-table-card

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.