From f86892390507de6d3ed9e8ee632cfe798212a844 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 17 Dec 2023 18:04:09 -0500 Subject: [PATCH] #392 fixed typo preventing water level low indicator from working --- coordinator/startup.lua | 2 +- coordinator/ui/components/unit_detail.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coordinator/startup.lua b/coordinator/startup.lua index 7811904..3df5ba2 100644 --- a/coordinator/startup.lua +++ b/coordinator/startup.lua @@ -22,7 +22,7 @@ local sounder = require("coordinator.sounder") local apisessions = require("coordinator.session.apisessions") -local COORDINATOR_VERSION = "v1.0.17" +local COORDINATOR_VERSION = "v1.0.18" local println = util.println local println_ts = util.println_ts diff --git a/coordinator/ui/components/unit_detail.lua b/coordinator/ui/components/unit_detail.lua index 64d5e5b..52b633a 100644 --- a/coordinator/ui/components/unit_detail.lua +++ b/coordinator/ui/components/unit_detail.lua @@ -257,7 +257,7 @@ local function init(parent, id) if unit.num_boilers > 0 then TextBox{parent=rcs_tags,x=1,text="B1",width=2,height=1,fg_bg=bw_fg_bg} local b1_wll = IndicatorLight{parent=rcs_annunc,label="Water Level Low",colors=ind_red} - b1_wll.register(b_ps[1], "WasterLevelLow", b1_wll.update) + b1_wll.register(b_ps[1], "WaterLevelLow", b1_wll.update) TextBox{parent=rcs_tags,text="B1",width=2,height=1,fg_bg=bw_fg_bg} local b1_hr = IndicatorLight{parent=rcs_annunc,label="Heating Rate Low",colors=ind_yel} @@ -273,7 +273,7 @@ local function init(parent, id) TextBox{parent=rcs_tags,text="B2",width=2,height=1,fg_bg=bw_fg_bg} local b2_wll = IndicatorLight{parent=rcs_annunc,label="Water Level Low",colors=ind_red} - b2_wll.register(b_ps[2], "WasterLevelLow", b2_wll.update) + b2_wll.register(b_ps[2], "WaterLevelLow", b2_wll.update) TextBox{parent=rcs_tags,text="B2",width=2,height=1,fg_bg=bw_fg_bg} local b2_hr = IndicatorLight{parent=rcs_annunc,label="Heating Rate Low",colors=ind_yel}