Enhance inventory management: add scanInventory function and improve furnace status refresh
This commit is contained in:
@@ -894,7 +894,9 @@ local function refreshFurnaceStatus()
|
||||
end
|
||||
cache.furnaceStatus = status
|
||||
bumpStateVersion()
|
||||
end(deviceName)
|
||||
end
|
||||
|
||||
local function scanInventory(deviceName)
|
||||
local inv = wrapCached(deviceName)
|
||||
if not inv then return {} end
|
||||
local result = {}
|
||||
|
||||
Reference in New Issue
Block a user