From bd18e18bfe8469bd7db7dd64d97cb5a788d3879c Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 10 Feb 2021 19:53:55 -0500 Subject: [PATCH] Fixed #324 - beestat.cache.thermostat gets erased for brand new thermostats when going to the comparisons page --- js/component/card/comparison_settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/component/card/comparison_settings.js b/js/component/card/comparison_settings.js index e6f4392..afaca0f 100644 --- a/js/component/card/comparison_settings.js +++ b/js/component/card/comparison_settings.js @@ -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();