Can someone tell me what the 'best' way to handle device configuration changes is?
When a user edits a device configuration, will the device have stopDeviceComm called before its properties are changed (due to the user edits). Or, do I need to somehow detect changes while the device is active, e.g via closedDeviceConfigUi. I've also seen mention of deviceUpdated(); is that something I need to worry about?
Motivating example is my alarm plugin which has zone devices; User an set the zone number on a device, and if they change the number I want to notice that and do the appropriate book-keeping int he plugin. But it seems it could get hairy with a few cases to handle.
Perhaps I can make it impossible for them to change the zone number once the device is created; what are the odds of that being successful or even a good idea?
thanks
Doug