PepperDash / Essentials

The Essentials Application Framework Libraries
MIT License
133 stars 77 forks source link

Custom Join Map Improvements #1124

Closed andrew-welker closed 1 year ago

andrew-welker commented 1 year ago

Using a join map configuration in the configuration file could cause an exception if a join in the configuration file doesn't match the name in the join map dictionary, causing the post-activation method for the bridge to fail, and possibly leaving devices unlinked. This change solves that problem by using the TryGetValue method instead of trying to blindly retrieve the join from the Joins dictionary.

In addition, the PDU Join map had an improperly named join.