From 70e55a5f3cf5b73538def8605ba392e963066e6b Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Thu, 25 Jun 2020 22:30:39 -0400 Subject: [PATCH] Reverted change that supposedly fixed runaway API calls. The fix created another bug: Now the Thermostat Detail chart won't load properly because it's no longer listening for the thermostat to change. --- js/component/card/runtime_thermostat_detail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/component/card/runtime_thermostat_detail.js b/js/component/card/runtime_thermostat_detail.js index 979609c..87d4e61 100644 --- a/js/component/card/runtime_thermostat_detail.js +++ b/js/component/card/runtime_thermostat_detail.js @@ -27,7 +27,8 @@ beestat.component.card.runtime_thermostat_detail = function(thermostat_id) { [ 'setting.runtime_thermostat_detail_range_type', 'setting.runtime_thermostat_detail_range_dynamic', - 'cache.runtime_thermostat' + 'cache.runtime_thermostat', + 'cache.thermostat' ], change_function );