mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #324 - beestat.cache.thermostat gets erased for brand new thermostats when going to the comparisons page
This commit is contained in:
parent
36f4e49d8f
commit
bd18e18bfe
@ -83,7 +83,7 @@ beestat.component.card.comparison_settings.prototype.decorate_contents_ = functi
|
||||
);
|
||||
|
||||
api.set_callback(function(response) {
|
||||
beestat.cache.set('thermostat', response.thermostat);
|
||||
beestat.cache.set('thermostat', response);
|
||||
});
|
||||
|
||||
api.send();
|
||||
|
Loading…
x
Reference in New Issue
Block a user