node-dash-button
node-dash-button copied to clipboard
Fix an issue where an exception was thrown when properties were refer…
Fix an issue where an exception was thrown when properties were referenced on undefined objects.
In some instances the packets the app would receive were not as expected and the app was crashing after trying to access properties on objects that were undefined.
On the line referencing "packet.payload.payload.sender_ha.addr", the "sender_ha" property is sometimes undefined and that was causing the app to crash when "addr" was referenced.