Anyone else seen this?
I added some configuration params to a device type ie timeout etc.
Worked fine till I added a new device of that type;…
On initial adding it would cause an error in the app and in the ide log due to the value being null in the configure function even though I have a default value in the preferences.
What good are the defaults?
I had to add code in the function
if (settings.ReportTime == null)
settings.ReportTime = 5
if (settings.WattageChange == null)
settings.WattageChnage = 10;