mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Added bridge.AddJoinMap(Key, joinMap); to each LinkToApi method
This commit is contained in:
parent
35effa5e82
commit
04e159c1d1
22 changed files with 1620 additions and 1586 deletions
|
|
@ -78,7 +78,9 @@ namespace PepperDash.Essentials.Core.Lighting
|
|||
var joinMapSerialized = JoinMapHelper.GetSerializedJoinMapForDevice(joinMapKey);
|
||||
|
||||
if (!string.IsNullOrEmpty(joinMapSerialized))
|
||||
joinMap = JsonConvert.DeserializeObject<GenericLightingJoinMap>(joinMapSerialized);
|
||||
joinMap = JsonConvert.DeserializeObject<GenericLightingJoinMap>(joinMapSerialized);
|
||||
|
||||
bridge.AddJoinMap(Key, joinMap);
|
||||
|
||||
Debug.Console(1, "Linking to Trilist '{0}'", trilist.ID.ToString("X"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue