Calling Changed When the UI Changes the Value

When the UI changes the alarm active property, you must let the library know. This is done by calling the DOFObject.changed method and specifying that the AlarmActive property has changed.

How It Works

The DOFObject.changed method notifies the library that a property may have changed.