Add droppers array to state update: ensure droppers data is handled correctly in the state from bridge
This commit is contained in:
@@ -442,6 +442,7 @@ function updateStateFromBridge(data) {
|
||||
barrelOk: data.cache.barrelOk || false,
|
||||
furnaceCount: data.cache.furnaceCount || 0,
|
||||
furnaceStatus: normalizedFurnaces,
|
||||
droppers: Array.isArray(data.cache.droppers) ? data.cache.droppers : [],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user