docs: def set_local_alarm_record_config(self, is_enable_local_alarm_record = 1,
                                        local_alarm_record_secs = 30, callback=None):
          '''
          Set local alarm-record config
          `is_enable_local_alarm_record`: 0 disable, 1 enable
          '''
          params = {'isEnableLocalAlarmRecord': is_enable_local_alarm_record,
                    'localAlarmRecordSecs'    : local_alarm_record_secs}
          return self.execute_command('setLocalAlarmRecordConfig', params, callback=callback)