From f259f85a9981f30afa43c6948509a0e300c9d5ae Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 18 Aug 2024 19:12:13 -0400 Subject: [PATCH] fixed wrong function name --- supervisor/facility.lua | 2 +- supervisor/facility_update.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/supervisor/facility.lua b/supervisor/facility.lua index 3ef7eb5..f418c69 100644 --- a/supervisor/facility.lua +++ b/supervisor/facility.lua @@ -212,7 +212,7 @@ function facility.new(config, cooling_conf, check_rtu_id) f_update.unit_mgmt(cooling_conf) -- update alarm tones - f_update.update_alarms() + f_update.alarm_audio() end -- call the update function of all units in the facility
diff --git a/supervisor/facility_update.lua b/supervisor/facility_update.lua index 94255b2..b26c722 100644 --- a/supervisor/facility_update.lua +++ b/supervisor/facility_update.lua @@ -43,6 +43,7 @@ local next_mode = 0 local charge_update = 0 local rate_update = 0 +---@class facility_update_extension local update = {} --#region PRIVATE FUNCTIONS