Notifies the state change of a Device.
the new state of the device
the previous state of the device
the reason describing the state change