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