bug fix: notification's parameters were in surrounding "parameters" object

was:
notification: {
  parameters: {
    parameters: {      // <<< this one "parameters" removed
      state: true
    }
  }                    // <<<
}
use case insensitive comparison for device identifiers
write unhandled exceptions to the log file