AlarmPoller: basics for notifying only when things change.
AlarmPoller: basics for notifying only when things change.

Prepare to log when the alarm state changes. Also log whenever the alarm
goes off, but only once (so don't *keep* logging as long as it's in
triggered).

kprovost/domotica,kprovost/domotica