Updates merge to ignore uid and merge on key only for devices

This commit is contained in:
Neil Dorin
2023-10-27 15:13:46 -06:00
parent beb8e533bb
commit 6174400b7e

View File

@@ -85,7 +85,7 @@ namespace PepperDash.Core.Config
merged.Add("info", template["info"]);
merged.Add("devices", MergeArraysOnTopLevelProperty(template["devices"] as JArray,
system["devices"] as JArray, "uid", "devices"));
system["devices"] as JArray, "key", "devices"));
if (system["rooms"] == null)
merged.Add("rooms", template["rooms"]);