Enhance inventory scanning: integrate state version bumping in scanInventory function
This commit is contained in:
@@ -893,9 +893,8 @@ local function refreshFurnaceStatus()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
cache.furnaceStatus = status
|
cache.furnaceStatus = status
|
||||||
end
|
bumpStateVersion()
|
||||||
|
end(deviceName)
|
||||||
local function scanInventory(deviceName)
|
|
||||||
local inv = wrapCached(deviceName)
|
local inv = wrapCached(deviceName)
|
||||||
if not inv then return {} end
|
if not inv then return {} end
|
||||||
local result = {}
|
local result = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user