Publish activated/deactivated as notifications.
Big rename part 1: 'action' to 'input'.
Big rename part 2: 'config' etc. to 'mapping.
Big rename part 3: 'target' to 'output'.