Display history-graph entries in the order they were specified (#3436)

This commit is contained in:
Thomas Lovén 2019-07-30 20:55:37 +02:00 committed by Paulus Schoutsen
parent 70b06861d1
commit b77372fc9a

View File

@ -75,7 +75,7 @@ class HuiHistoryGraphCard extends PolymerElement {
this.setProperties({
_cacheConfig: {
cacheKey: _entities.sort().join(),
cacheKey: _entities.join(),
hoursToShow: config.hours_to_show || 24,
refresh: config.refresh_interval || 0,
},